scanForProduct

fun scanForProduct(productType: ZTProductType, duration: Long? = null, timeUnit: TimeUnit? = null): Observable<ZTScanRecord>

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