4.10. StarBluetoothManagerFactory
added in version 1.3.0
エミュレーションを指定することで StarBluetoothManager オブジェクトを取得するためのクラスです。
メソッド
名称
説明
StarBluetoothManager クラスのインスタンスを取得します。
4.10.1. GetManager
added in version 1.3.0
引数で渡すエミュレーション用の StarBluetoothManager クラスのオブジェクトを取得します。
宣言
public static StarBluetoothManager GetManager(string portName, string portSettings, Int32 timeout, Emulation emulation)
引数
名称
説明
型
portName
ConnectAsync メソッドのportNameと同じです。
string
portSettings
ConnectAsync メソッドのportSettingと同じです。
string
ioTimeoutMillis
内部制御およびAPIのタイムアウト値
int
emulation
エミュレーション
各モデルに対して適用すべきemulation引数は、Emulation 定数を参照ください。
戻り値
説明
型
StarBluetoothManager オブジェクト
Bluetooth設定変更の手順は、 Bluetooth設定変更フロー を参照ください。