lightbulb_outline Please take our October 2018 developer survey. Start survey

belongs to Maven artifact androidx.biometric:biometric:1.0.0-alpha01

BiometricPrompt.PromptInfo

public static class BiometricPrompt.PromptInfo
extends Object

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


A class that contains a builder which returns the BiometricPrompt.PromptInfo to be used in BiometricPrompt.authenticate(PromptInfo, CryptoObject) and BiometricPrompt.authenticate(PromptInfo).

Summary

Nested classes

class BiometricPrompt.PromptInfo.Builder

A builder that collects arguments to be shown on the system-provided biometric dialog. 

Public methods

CharSequence getDescription()
CharSequence getNegativeButtonText()
CharSequence getSubtitle()
CharSequence getTitle()

Inherited methods

Public methods

getDescription

public CharSequence getDescription ()

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

getNegativeButtonText

public CharSequence getNegativeButtonText ()

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

getSubtitle

public CharSequence getSubtitle ()

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

getTitle

public CharSequence getTitle ()

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