Language

EmbeddedBiometricPrompt.StartModeImmediateUnlessOccluded Field

Definition

Caution

This constant will be removed in the future version. Use Android.Hardware.Biometrics.EmbeddedBiometricPromptStartMode enum directly instead of this field.

Start authentication immediately unless the embedded content height exceeds the maximum allowed dimensions.

[Android.Runtime.Register("START_MODE_IMMEDIATE_UNLESS_OCCLUDED", ApiSince=37)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Hardware.Biometrics.EmbeddedBiometricPromptStartMode enum directly instead of this field.", true)]
public const Android.Hardware.Biometrics.EmbeddedBiometricPromptStartMode StartModeImmediateUnlessOccluded = 1;
[<Android.Runtime.Register("START_MODE_IMMEDIATE_UNLESS_OCCLUDED", ApiSince=37)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Hardware.Biometrics.EmbeddedBiometricPromptStartMode enum directly instead of this field.", true)>]
val mutable StartModeImmediateUnlessOccluded : Android.Hardware.Biometrics.EmbeddedBiometricPromptStartMode

Field Value

Value = 1
Attributes

Remarks

Start authentication immediately unless the embedded content height exceeds the maximum allowed dimensions. If authentication is started and the provided embedded content exceeds the maximum available space, the prompt displays in the deferred/paused state, where it shows a shorter bottom sheet with a down arrow button in place of the full prompt, and biometric sensors are not activated. Apps can listen for AuthenticationCallback.onAuthenticationPaused in this case, and respond by calling resumeAuthentication() when ready to expand the bottom sheet to the full prompt and activate biometric sensors to begin authenticating.

Android reference for android.hardware.biometrics.EmbeddedBiometricPrompt.START_MODE_IMMEDIATE_UNLESS_OCCLUDED.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to