Class Biometrics.RegisterParameters
-
- All Implemented Interfaces:
public final class Biometrics.RegisterParametersData class used for wrapping parameters used with Biometrics registration flow
-
-
Field Summary
Fields Modifier and Type Field Description private final FragmentActivitycontextprivate final IntegersessionDurationMinutesprivate final BooleanallowFallbackToCleartextprivate final Biometrics.PromptDatapromptDataprivate final BooleanallowDeviceCredentials
-
Constructor Summary
Constructors Constructor Description Biometrics.RegisterParameters(FragmentActivity context, Integer sessionDurationMinutes, Boolean allowFallbackToCleartext, Biometrics.PromptData promptData, Boolean allowDeviceCredentials)Biometrics.RegisterParameters(FragmentActivity context, Integer sessionDurationMinutes, Boolean allowFallbackToCleartext, Biometrics.PromptData promptData)Biometrics.RegisterParameters(FragmentActivity context, Integer sessionDurationMinutes, Boolean allowFallbackToCleartext)Biometrics.RegisterParameters(FragmentActivity context, Integer sessionDurationMinutes)Biometrics.RegisterParameters(FragmentActivity context)
-
Method Summary
Modifier and Type Method Description final FragmentActivitygetContext()is the calling FragmentActivity final IntegergetSessionDurationMinutes()indicates how long the session should last before it expires final BooleangetAllowFallbackToCleartext()opts-in to allowing biometric registrations when the KeyStore is unreliable. final Biometrics.PromptDatagetPromptData()is an optional biometric prompt configuration. final BooleangetAllowDeviceCredentials()opts-in to allowing the use of non-biometric device credentials (PIN, Pattern) as a fallback (on Android versions greater than Q) -
-
Constructor Detail
-
Biometrics.RegisterParameters
Biometrics.RegisterParameters(FragmentActivity context, Integer sessionDurationMinutes, Boolean allowFallbackToCleartext, Biometrics.PromptData promptData, Boolean allowDeviceCredentials)
-
Biometrics.RegisterParameters
Biometrics.RegisterParameters(FragmentActivity context, Integer sessionDurationMinutes, Boolean allowFallbackToCleartext, Biometrics.PromptData promptData)
-
Biometrics.RegisterParameters
Biometrics.RegisterParameters(FragmentActivity context, Integer sessionDurationMinutes, Boolean allowFallbackToCleartext)
-
Biometrics.RegisterParameters
Biometrics.RegisterParameters(FragmentActivity context, Integer sessionDurationMinutes)
-
Biometrics.RegisterParameters
Biometrics.RegisterParameters(FragmentActivity context)
-
-
Method Detail
-
getContext
final FragmentActivity getContext()
is the calling FragmentActivity
-
getSessionDurationMinutes
final Integer getSessionDurationMinutes()
indicates how long the session should last before it expires
-
getAllowFallbackToCleartext
final Boolean getAllowFallbackToCleartext()
opts-in to allowing biometric registrations when the KeyStore is unreliable. If this is set to
false(default behavior), biometric registrations will fail when the KeyStore is not used.
-
getPromptData
final Biometrics.PromptData getPromptData()
is an optional biometric prompt configuration. If one is not provided a default will be created
-
getAllowDeviceCredentials
final Boolean getAllowDeviceCredentials()
opts-in to allowing the use of non-biometric device credentials (PIN, Pattern) as a fallback (on Android versions greater than Q)
-
-
-
-