4.9. StarBluetoothManagerFactory

エミュレーションを指定することで StarBluetoothManager オブジェクトを取得するためのクラスです。

4.9.1. GetManager

引数で渡すエミュレーション用の StarBluetoothManager クラスのオブジェクトを取得します。

  • 宣言

    public static StarBluetoothManager GetManager(string portName, string portSettings, int timeoutMillis, Emulation emulation)
    
  • 引数

    名称

    説明

    portName

    GetPort メソッドのportNameと同じです。

    string

    portSettings

    GetPort メソッドのportSettingと同じです。

    string

    ioTimeoutMillis

    内部制御およびAPIのタイムアウト値

    int

    emulation

    エミュレーション

    Emulation

    各モデルに対して適用すべきemulation引数は、Emulation 定数を参照ください。

  • 戻り値

    説明

    StarBluetoothManager オブジェクト

    StarBluetoothManager

Bluetooth設定変更の手順は、 Bluetooth設定変更フロー を参照ください。