ztcorekit
/
fr.zhortech.ztcorekit.ble.scan
/
ZTScanner
/
Builder
Builder
class
Builder
Content copied to clipboard
This class defines all parameters to get a
ZTScanner
.
Constructors
Functions
Constructors
Builder
Link copied to clipboard
fun
Builder
()
Content copied to clipboard
Functions
build
Link copied to clipboard
fun
build
(client:
RxBleClient
):
ZTScanner
Content copied to clipboard
Build a
ZTScanner
based on parameters.
setDuration
Link copied to clipboard
fun
setDuration
(duration:
Long
?, timeUnit:
TimeUnit
?):
ZTScanner.Builder
Content copied to clipboard
Set the maximum duration for the scan.
setProductType
Link copied to clipboard
fun
setProductType
(productType:
ZTProductType
?):
ZTScanner.Builder
Content copied to clipboard
Set the product type to scan for.