KeyguardManager.CreateConfirmDeviceCredentialIntent Method

Definition

Overloads

Name Description
CreateConfirmDeviceCredentialIntent(ICharSequence, ICharSequence)

This method was deprecated in API level 29.

CreateConfirmDeviceCredentialIntent(String, String)

This method was deprecated in API level 29.

CreateConfirmDeviceCredentialIntent(ICharSequence, ICharSequence)

This method was deprecated in API level 29.

[Android.Runtime.Register("createConfirmDeviceCredentialIntent", "(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Landroid/content/Intent;", "GetCreateConfirmDeviceCredentialIntent_Ljava_lang_CharSequence_Ljava_lang_CharSequence_Handler")]
public virtual Android.Content.Intent? CreateConfirmDeviceCredentialIntent(Java.Lang.ICharSequence? title, Java.Lang.ICharSequence? description);
[<Android.Runtime.Register("createConfirmDeviceCredentialIntent", "(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Landroid/content/Intent;", "GetCreateConfirmDeviceCredentialIntent_Ljava_lang_CharSequence_Ljava_lang_CharSequence_Handler")>]
abstract member CreateConfirmDeviceCredentialIntent : Java.Lang.ICharSequence * Java.Lang.ICharSequence -> Android.Content.Intent
override this.CreateConfirmDeviceCredentialIntent : Java.Lang.ICharSequence * Java.Lang.ICharSequence -> Android.Content.Intent

Parameters

title
ICharSequence

CharSequence

description
ICharSequence

CharSequence

Returns

the intent for launching the activity or null if no password is required.

Attributes

Remarks

This method was deprecated in API level 29. see BiometricPrompt.Builder.setAllowedAuthenticators(int)

Get an intent to prompt the user to confirm credentials (pin, pattern, password or biometrics if enrolled) for the current user of the device. The caller is expected to launch this activity using android.app.Activity.startActivityForResult(Intent,int) and check for Activity.RESULT_OK if the user successfully completes the challenge. Requires the PackageManager.FEATURE_SECURE_LOCK_SCREEN feature which can be detected using PackageManager.hasSystemFeature(String).

Android reference for android.app.KeyguardManager.createConfirmDeviceCredentialIntent.

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

CreateConfirmDeviceCredentialIntent(String, String)

This method was deprecated in API level 29.

public Android.Content.Intent? CreateConfirmDeviceCredentialIntent(string? title, string? description);
member this.CreateConfirmDeviceCredentialIntent : string * string -> Android.Content.Intent

Parameters

title
String

CharSequence

description
String

CharSequence

Returns

the intent for launching the activity or null if no password is required.

Remarks

This method was deprecated in API level 29. see BiometricPrompt.Builder.setAllowedAuthenticators(int)

Get an intent to prompt the user to confirm credentials (pin, pattern, password or biometrics if enrolled) for the current user of the device. The caller is expected to launch this activity using android.app.Activity.startActivityForResult(Intent,int) and check for Activity.RESULT_OK if the user successfully completes the challenge. Requires the PackageManager.FEATURE_SECURE_LOCK_SCREEN feature which can be detected using PackageManager.hasSystemFeature(String).

Android reference for android.app.KeyguardManager.createConfirmDeviceCredentialIntent.

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