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
equals(Object other)
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 androidx.biometric.BiometricPrompt such as androidx.biometric.BiometricPrompt.AUTHENTICATION_RESULT_TYPE_BIOMETRIC or androidx.biometric.BiometricPrompt.AUTHENTICATION_RESULT_TYPE_DEVICE_CREDENTIAL

int

Public constructors

AuthenticationResult

Added in 1.5.0-alpha02
public AuthenticationResult(int authenticationType)

Public methods

equals

public boolean equals(Object other)

getAuthenticationType

Added in 1.5.0-alpha02
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

hashCode

public int hashCode()