4.9. StarBluetoothManagerFactory

Class to get the StarBluetoothManager object by specifying the emulation.

4.9.1. GetManager

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

  • Declaration

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

    Name Contents Type
    portName It is the same as the portName of the GetPort method. string
    portSettings It is the same as the portSetting of the GetPort method. string
    ioTimeoutMillis Acquires and specifies the timeout time for internal control and API (unit: millisecond) int
    emulation Emulation Emulation

    emulation parameter for each model, refer to Emulation Constants.

  • Return value

    Contents Type
    StarBluetoothManager object StarBluetoothManager

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