Google は、黒人コミュニティに対する人種平等の促進に取り組んでいます。取り組みを見る

BiometricPrompt.PromptInfo

public static class BiometricPrompt.PromptInfo
extends Object

java.lang.Object
   ↳ androidx.biometric.BiometricPrompt.PromptInfo


A set of configurable options for how the BiometricPrompt should appear and behave.

Summary

Nested classes

class BiometricPrompt.PromptInfo.Builder

A builder used to set individual options for the BiometricPrompt.PromptInfo class. 

Public methods

CharSequence getDescription()

See BiometricPrompt.PromptInfo.Builder.setDescription(CharSequence).

CharSequence getNegativeButtonText()

See BiometricPrompt.PromptInfo.Builder.setNegativeButtonText(CharSequence).

CharSequence getSubtitle()

See BiometricPrompt.PromptInfo.Builder.setSubtitle(CharSequence).

CharSequence getTitle()

See BiometricPrompt.PromptInfo.Builder.setTitle(CharSequence).

boolean isConfirmationRequired()

See BiometricPrompt.PromptInfo.Builder.setConfirmationRequired(boolean).

boolean isDeviceCredentialAllowed()

See BiometricPrompt.PromptInfo.Builder.setDeviceCredentialAllowed(boolean).

Inherited methods

Public methods

getDescription

public CharSequence getDescription ()

See BiometricPrompt.PromptInfo.Builder.setDescription(CharSequence).

Returns
CharSequence The description to be displayed on the prompt.

getNegativeButtonText

public CharSequence getNegativeButtonText ()

See BiometricPrompt.PromptInfo.Builder.setNegativeButtonText(CharSequence).

Returns
CharSequence The label to be used for the negative button on the prompt.

getSubtitle

public CharSequence getSubtitle ()

See BiometricPrompt.PromptInfo.Builder.setSubtitle(CharSequence).

Returns
CharSequence The subtitle to be displayed on the prompt.

getTitle

public CharSequence getTitle ()

See BiometricPrompt.PromptInfo.Builder.setTitle(CharSequence).

Returns
CharSequence The title to be displayed on the prompt.

isConfirmationRequired

public boolean isConfirmationRequired ()

See BiometricPrompt.PromptInfo.Builder.setConfirmationRequired(boolean).

Returns
boolean Whether this option is enabled.

isDeviceCredentialAllowed

public boolean isDeviceCredentialAllowed ()

See BiometricPrompt.PromptInfo.Builder.setDeviceCredentialAllowed(boolean).

Returns
boolean Whether this option is enabled.