ztcorekit
/
fr.zhortech.ztcorekit.ble.scan
/
ZTScanner
/
Builder
/
setDuration
set
Duration
fun
setDuration
(duration:
Long
?, timeUnit:
TimeUnit
?):
ZTScanner.Builder
Content copied to clipboard
Set the maximum duration for the scan.
Return
Builder instance
Parameters
duration
the duration
timeUnit
the
TimeUnit