Added in Version 1.0.0

identifier

An identifier that specifies the device to connect to

identifier: string

Return value

An identifier that specifies the device to connect to

string

You don’t have to set this parameter, if you get object from StarDeviceDiscoveryManager.onPrinterFound. If you don’t use StarDeviceDiscoveryManager.onPrinterFound, please specify the following parameters.

Interface

Parameter

LAN

  • Mac Address

  • IP Address

Bluetooth

  • Bluetooth Address (Android/Windows)

  • Bluetooth Device Name (Android/Windows)

  • iOS Port Name (iOS)

USB

  • USB Serial Number (Android)

  • iOS Port Name (iOS)

Bluetooth Low Energy

  • Bluetooth Address (iOS)

Note

Connect to the device that is found first, if this parameter is not specified