4.10. SMBluetoothManagerFactory¶
added in version 1.7.0
エミュレーションを指定することで SMBluetoothManager オブジェクトを取得するためのクラスです。
メソッド
名称
説明
SMBluetoothManager クラスのインスタンスを取得します。
4.10.1. getManager¶
added in version 1.7.0
引数で渡すエミュレーション用の SMBluetoothManager クラスのオブジェクトを取得します。
宣言
- (SMBluetoothManager *)getManager:(NSString *)portName emulation:(StarIoExtEmulation)emulation;
引数
名称 説明 型 portName getPort メソッドのportNameと同じです。 NSString * emulation エミュレーション StarIoExtEmulation 各モデルに対して適用すべきemulation引数は、StarIoExtEmulation 定数を参照ください。
戻り値
説明 型 SMBluetoothManager オブジェクト SMBluetoothManager
Bluetooth設定変更の手順は、 Bluetooth設定変更フロー を参照ください。