4.17. StarBluetoothManagerFactory

added in version 1.6.0

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

4.17.1. getManager

added in version 1.6.0

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

  • 宣言

    public static StarBluetoothManager getManager(String portName, String portSettings, int ioTimeoutMillis, Emulation emulation) throws StarIOPortException;
    
  • 引数

    名称

    説明

    portName

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

    String

    portSettings

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

    String

    ioTimeoutMillis

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

    int

    emulation

    エミュレーション

    Emulation

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

  • 戻り値

    説明

    StarBluetoothManager オブジェクト

    StarBluetoothManager

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