public abstract static class FingerprintManagerCompat.AuthenticationCallback
extends java.lang.Object
构造器和说明 |
---|
AuthenticationCallback() |
限定符和类型 | 方法和说明 |
---|---|
void |
onAuthenticationCancelled()
Called when the fingerprint is cancelled by user actively.
|
void |
onAuthenticationError(int errMsgId,
java.lang.CharSequence errString)
Called when an unrecoverable error has been encountered and the operation is complete.
|
void |
onAuthenticationFailed()
Called when a fingerprint is valid but not recognized.
|
void |
onAuthenticationHelp(int helpMsgId,
java.lang.CharSequence helpString)
Called when a recoverable error has been encountered during authentication.
|
void |
onAuthenticationSucceeded(FingerprintManagerCompat.AuthenticationResult result)
Called when a fingerprint is recognized.
|
public void onAuthenticationError(int errMsgId, java.lang.CharSequence errString)
errMsgId
- An integer identifying the error messageerrString
- A human-readable error string that can be shown in UIpublic void onAuthenticationHelp(int helpMsgId, java.lang.CharSequence helpString)
helpMsgId
- An integer identifying the error messagehelpString
- A human-readable string that can be shown in UIpublic void onAuthenticationSucceeded(FingerprintManagerCompat.AuthenticationResult result)
result
- An object containing authentication-related datapublic void onAuthenticationFailed()
public void onAuthenticationCancelled()