Partager via


Settings.ActionBiometricEnroll Field

Definition

Activity Action: Show settings to enroll biometrics, and setup PIN/Pattern/Pass if necessary.

[Android.Runtime.Register("ACTION_BIOMETRIC_ENROLL", ApiSince=30)]
public const string ActionBiometricEnroll;
[<Android.Runtime.Register("ACTION_BIOMETRIC_ENROLL", ApiSince=30)>]
val mutable ActionBiometricEnroll : string

Field Value

Attributes

Remarks

Activity Action: Show settings to enroll biometrics, and setup PIN/Pattern/Pass if necessary. By default, this prompts the user to enroll biometrics with strength Weak or above, as defined by the CDD. Only biometrics that meet or exceed Strong, as defined in the CDD are allowed to participate in Keystore operations.

Input: extras #EXTRA_BIOMETRIC_AUTHENTICATORS_ALLOWED as an integer, with constants defined in android.hardware.biometrics.BiometricManager.Authenticators, e.g. android.hardware.biometrics.BiometricManager.Authenticators#BIOMETRIC_STRONG. If not specified, the default behavior is android.hardware.biometrics.BiometricManager.Authenticators#BIOMETRIC_WEAK.

Output: Nothing. Note that callers should still check android.hardware.biometrics.BiometricManager#canAuthenticate(int) afterwards to ensure that the user actually completed enrollment.

Java documentation for android.provider.Settings.ACTION_BIOMETRIC_ENROLL.

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