Język

EmbeddedBiometricPrompt.Builder.SetDescription Method

Definition

Overloads

Name Description
SetDescription(ICharSequence)

Optional: Sets a description that will be shown on the device credential fallback page (when the user is authenticating with PIN/pattern/password).

SetDescription(String)

SetDescription(ICharSequence)

Optional: Sets a description that will be shown on the device credential fallback page (when the user is authenticating with PIN/pattern/password).

[Android.Runtime.Register("setDescription", "(Ljava/lang/CharSequence;)Landroid/hardware/biometrics/EmbeddedBiometricPrompt$Builder;", "", ApiSince=37)]
public Android.Hardware.Biometrics.EmbeddedBiometricPrompt.Builder SetDescription(Java.Lang.ICharSequence description);
[<Android.Runtime.Register("setDescription", "(Ljava/lang/CharSequence;)Landroid/hardware/biometrics/EmbeddedBiometricPrompt$Builder;", "", ApiSince=37)>]
member this.SetDescription : Java.Lang.ICharSequence -> Android.Hardware.Biometrics.EmbeddedBiometricPrompt.Builder

Parameters

description
ICharSequence

The description to display on the credential page. This value cannot be null.

Returns

This builder. This value cannot be null.

Attributes

Remarks

Optional: Sets a description that will be shown on the device credential fallback page (when the user is authenticating with PIN/pattern/password).

Note that the description set by Builder.setDescription(CharSequence) will be overridden by Builder.setContentView(PromptContentView). The view provided to Builder.setContentView(PromptContentView) will be used if both methods are called.

Android reference for android.hardware.biometrics.EmbeddedBiometricPrompt.Builder.setDescription.

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

SetDescription(String)

public Android.Hardware.Biometrics.EmbeddedBiometricPrompt.Builder SetDescription(string description);
member this.SetDescription : string -> Android.Hardware.Biometrics.EmbeddedBiometricPrompt.Builder

Parameters

description
String

Returns

Applies to