scan For Product
fun scanForProduct(productType: ZTProductType, duration: Long? = null, timeUnit: TimeUnit? = null): Observable<ZTScanRecord>
Content copied to clipboard
Scan for a specific BLE product.
Parameters
productType
The ZTProductType you want to scan for
duration
The maximum duration for the scan
timeUnit
The TimeUnit for the scan