AuthenticationResult
public final class AuthenticationResult
Successful result returned from the Biometric Prompt authentication flow handled by androidx.credentials.CredentialManager.
Summary
Public constructors |
|---|
AuthenticationResult(int authenticationType) |
Public methods |
|
|---|---|
boolean |
|
final int |
the type of authentication (e.g. device credential or biometric) that was requested from and successfully provided by the user, corresponds to constants defined in |
int |
hashCode() |
Public constructors
Public methods
getAuthenticationType
public final int getAuthenticationType()
the type of authentication (e.g. device credential or biometric) that was requested from and successfully provided by the user, corresponds to constants defined in androidx.biometric.BiometricPrompt such as androidx.biometric.BiometricPrompt.AUTHENTICATION_RESULT_TYPE_BIOMETRIC or androidx.biometric.BiometricPrompt.AUTHENTICATION_RESULT_TYPE_DEVICE_CREDENTIAL