Compartilhar via


KeyguardManager.CreateConfirmDeviceCredentialIntent Method

Definition

Overloads

CreateConfirmDeviceCredentialIntent(ICharSequence, ICharSequence)

Get an intent to prompt the user to confirm credentials (pin, pattern, password or biometrics if enrolled) for the current user of the device.

CreateConfirmDeviceCredentialIntent(String, String)

Get an intent to prompt the user to confirm credentials (pin, pattern, password or biometrics if enrolled) for the current user of the device.

CreateConfirmDeviceCredentialIntent(ICharSequence, ICharSequence)

Get an intent to prompt the user to confirm credentials (pin, pattern, password or biometrics if enrolled) for the current user of the device.

[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

description
ICharSequence

Returns

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

Attributes

Remarks

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 android.app.Activity#RESULT_OK if the user successfully completes the challenge.

This member is deprecated. see BiometricPrompt.Builder#setDeviceCredentialAllowed(boolean)

Java documentation for android.app.KeyguardManager.createConfirmDeviceCredentialIntent(java.lang.CharSequence, java.lang.CharSequence).

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)

Get an intent to prompt the user to confirm credentials (pin, pattern, password or biometrics if enrolled) for the current user of the device.

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

Parameters

title
String
description
String

Returns

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

Remarks

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 android.app.Activity#RESULT_OK if the user successfully completes the challenge.

This member is deprecated. see BiometricPrompt.Builder#setDeviceCredentialAllowed(boolean)

Java documentation for android.app.KeyguardManager.createConfirmDeviceCredentialIntent(java.lang.CharSequence, java.lang.CharSequence).

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