BiometricPrompt.AuthenticationResult
public
static
class
BiometricPrompt.AuthenticationResult
extends Object
| java.lang.Object | |
| ↳ | android.hardware.biometrics.BiometricPrompt.AuthenticationResult |
Container for callback data from authenticate(CancellationSignal,Executor,AuthenticationCallback) and authenticate(CryptoObject,CancellationSignal,Executor,AuthenticationCallback).
Summary
Public methods | |
|---|---|
int
|
getAuthenticationType()
Provides the type of authentication (e.g. device credential or biometric) that was requested from and successfully provided by the user. |
BiometricPrompt.CryptoObject
|
getCryptoObject()
Provides the crypto object associated with this transaction. |
Inherited methods | |
|---|---|
Public methods
getAuthenticationType
public int getAuthenticationType ()
Provides the type of authentication (e.g. device credential or biometric) that was requested from and successfully provided by the user.
| Returns | |
|---|---|
int |
An integer value representing the authentication method used.
Value is one of the following: |
getCryptoObject
public BiometricPrompt.CryptoObject getCryptoObject ()
Provides the crypto object associated with this transaction.
| Returns | |
|---|---|
BiometricPrompt.CryptoObject |
The crypto object provided to authenticate(CryptoObject,CancellationSignal,Executor,AuthenticationCallback) |