com.pax.dal

Interface IFingerprintReader.FingerprintListener

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      void onError(int errCode)
      指纹获取失败时,通过errorCode通知调用者,对应的失败的原因
      When fingerprint acquisition fails, the caller is notified through errorCode of the corresponding failure reason.
      void onSuccess(FingerprintResult result)
      指纹获取成功后,通过FingerprintResult获取结果
      After successful fingerprint acquisition, the result is obtained through FingerprintResult
    • Method Detail

      • onError

        void onError(int errCode)
        指纹获取失败时,通过errorCode通知调用者,对应的失败的原因
        When fingerprint acquisition fails, the caller is notified through errorCode of the corresponding failure reason.
        Parameters:
        errCode -
        • -1 模块未开启
        • -2 设备忙
        • -3 采集失败
        • -1 FINGER_RETVAL_NOT_OPEN
        • -2 FINGER_RETVAL_DEVICE_BUSY
        • -3 FINGER_RETVAL_CAPETURE_ERR