4.10. SMBluetoothManagerFactory

added in version 1.7.0

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

4.10.1. getManager

added in version 1.7.0

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

  • 宣言

    open class func getManager(_ portName: String!, emulation: StarIoExtEmulation) -> Any!
    
  • 引数

    名称

    説明

    portName

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

    String

    emulation

    エミュレーション

    StarIoExtEmulation

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

  • 戻り値

    説明

    SMBluetoothManager オブジェクト

    SMBluetoothManager

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