scan For Devices
fun scanForDevices(duration: Long? = null, timeUnit: TimeUnit? = null): Observable<ZTScanRecord>
Content copied to clipboard
Scan for all BLE devices.
Parameters
duration
The maximum duration for the scan
timeUnit
The TimeUnit for the scan