AuthenticationResult.CustomFallbackSelected


public final class AuthenticationResult.CustomFallbackSelected implements AuthenticationResult


The prompt was dismissed because the user clicked a custom fallback option.

Summary

Inherited methods

From androidx.biometric.AuthenticationResult
AuthenticationResult.Error

Returns a Error only if it's a Error, returns null otherwise.

boolean

Whether this AuthenticationResult is a CustomFallbackSelected.

boolean

Whether this AuthenticationResult is an Error.

boolean

Whether this AuthenticationResult is a Success.

AuthenticationResult.Success

Returns a Success only if it's a Success, returns null otherwise.

Public constructors

CustomFallbackSelected

Added in 1.4.0-alpha06
public CustomFallbackSelected(
    @NonNull AuthenticationRequest.Biometric.Fallback.CustomOption fallback
)

Public methods

customFallbackSelected

public @NonNull AuthenticationResult.CustomFallbackSelected customFallbackSelected()

Returns a CustomFallbackSelected only if it's a CustomFallbackSelected, returns null otherwise.