4.10. SMBluetoothManagerFactory

added in version 1.7.0

Class to get the SMBluetoothManager object by specifying the emulation.

4.10.1. getManager

added in version 1.7.0

Gets the object of the SMBluetoothManager class for the emulation to be passed in the parameter.

  • Declaration

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

    Name

    Contents

    Type

    portName

    It is the same as the portName of the getPort method.

    String

    emulation

    Emulation

    StarIoExtEmulation

    emulation parameter for each model, refer to StarIoExtEmulation Constants.

  • Return value

    Contents

    Type

    SMBluetoothManager object

    SMBluetoothManager

Refer to Bluetooth setting change flow using StarBluetoothManager about the procedure of change the Bluetooth Setting.