After I perform afingerLockManager.start() and I purposely scan a bad fingerprint 5 times. This makes the Google API return a FingerprintManager.FINGERPRINT_ERROR_LOCKOUT error, which states:
The operation was canceled because the API is locked out due to too many attempts.
However, when onFingerLockError() is fired, the error type is FingerLock.FINGERPRINT_UNRECOVERABLE_ERROR. Is this the correct behavior?
I would assume that FingerLock.FINGERPRINT_UNRECOVERABLE_ERROR is an unknown or unrecoverable error. Does this mean it's a FingerprintManager.FINGERPRINT_ERROR_LOCKOUT? How would I specifically handle FingerprintManager.FINGERPRINT_ERROR_LOCKOUT error if an "unrecoverable error" could be anything?
After I perform a
fingerLockManager.start()and I purposely scan a bad fingerprint 5 times. This makes the Google API return a FingerprintManager.FINGERPRINT_ERROR_LOCKOUT error, which states:However, when
onFingerLockError()is fired, the error type isFingerLock.FINGERPRINT_UNRECOVERABLE_ERROR. Is this the correct behavior?I would assume that
FingerLock.FINGERPRINT_UNRECOVERABLE_ERRORis an unknown or unrecoverable error. Does this mean it's aFingerprintManager.FINGERPRINT_ERROR_LOCKOUT? How would I specifically handleFingerprintManager.FINGERPRINT_ERROR_LOCKOUTerror if an "unrecoverable error" could be anything?