BiometricPrompt.AuthenticationResult
  public
  static
  
  
  class
  BiometricPrompt.AuthenticationResult
  
    extends Object
  
  
  
  
  
  
| java.lang.Object | |
| ↳ | android.hardware.biometrics.BiometricPrompt.AuthenticationResult | 
Container for callback data from BiometricPrompt.authenticate(android.os.CancellationSignal, java.util.concurrent.Executor, android.hardware.biometrics.BiometricPrompt.AuthenticationCallback) and BiometricPrompt.authenticate(android.hardware.biometrics.BiometricPrompt.CryptoObject, android.os.CancellationSignal, java.util.concurrent.Executor, android.hardware.biometrics.BiometricPrompt.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 BiometricPrompt.AUTHENTICATION_RESULT_TYPE_DEVICE_CREDENTIAL, orBiometricPrompt.AUTHENTICATION_RESULT_TYPE_BIOMETRIC | 
getCryptoObject
public BiometricPrompt.CryptoObject getCryptoObject ()
Provides the crypto object associated with this transaction.
