com.pax.dal

Interface IScanner.IScanListener

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      void onCancel()
      取消扫描回调
      the underlying called when cancelled
      void onFinish()
      扫描结束回调
      the underlying called when finish scanning
      void onRead(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