Added in Version 1.0.0

StarDeviceDiscoveryManager

The class for discovering devices

Property

Default value

Type

discoveryTime

Discovery time (msec)

-1

number

onPrinterFound

Notify that a printer is discovered

(printer: StarPrinter) => void

onDiscoveryFinished

Notify that discovery is finished

() => void

isEnabledFindSameDevice

Whether to repeatedly notify the discovery of the same device until the discovery is complete

false

boolean

Method

startDiscovery()

Start discovery

stopDiscovery()

Stop discovery