com.pax.dal
Interface IScanner.IScanListener
-
- Enclosing interface:
- IScanner
public static interface IScanner.IScanListener
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description voidonCancel()取消扫描回调the underlying called when cancelledvoidonFinish()扫描结束回调the underlying called when finish scanningvoidonRead(ScanResult scanResult)读取成功回调the underlying called when read success
-
-
-
Method Detail
-
onRead
void onRead(ScanResult scanResult)
读取成功回调the underlying called when read success- Parameters:
scanResult-ScanResult
-
onFinish
void onFinish()
扫描结束回调the underlying called when finish scanning
-
onCancel
void onCancel()
取消扫描回调the underlying called when cancelled
-
-