AuthenticationRequest.Biometric.Fallback.CustomOption


public final class AuthenticationRequest.Biometric.Fallback.CustomOption extends AuthenticationRequest.Biometric.Fallback


Custom Fallback option displayed as the negative button in prompt authentication screen if it is the only option or displayed in a list in the fallback options page if there are more than one.

Summary

Public constructors

CustomOption(@NonNull String text, int iconType)

Public methods

final int

Icon to be shown for the fallback option

final @NonNull String

Text to be shown on the fallback option for the prompt.

Public constructors

CustomOption

Added in 1.4.0-alpha06
public CustomOption(@NonNull String text, int iconType)
Parameters
@NonNull String text

Text to be shown on the fallback option for the prompt.

int iconType

Icon to be shown for the fallback option

Public methods

getIconType

Added in 1.4.0-alpha06
public final int getIconType()

Icon to be shown for the fallback option

getText

Added in 1.4.0-alpha06
public final @NonNull String getText()

Text to be shown on the fallback option for the prompt.