public static class FingerprintManager.AuthenticationResult extends Object
FingerprintManager.authenticate(CryptoObject,
CancellationSignal, int, AuthenticationCallback, Handler)
.Constructor and Description |
---|
AuthenticationResult(FingerprintManager.CryptoObject crypto,
Fingerprint fingerprint,
int userId)
Authentication result
|
Modifier and Type | Method and Description |
---|---|
FingerprintManager.CryptoObject |
getCryptoObject()
Obtain the crypto object associated with this transaction
|
Fingerprint |
getFingerprint()
Obtain the Fingerprint associated with this operation.
|
int |
getUserId()
Obtain the userId for which this fingerprint was authenticated.
|
public AuthenticationResult(FingerprintManager.CryptoObject crypto, Fingerprint fingerprint, int userId)
crypto
- the crypto objectfingerprint
- the recognized fingerprint data, if allowed.public FingerprintManager.CryptoObject getCryptoObject()
FingerprintManager.authenticate(CryptoObject,
CancellationSignal, int, AuthenticationCallback, Handler)
.public Fingerprint getFingerprint()
public int getUserId()