BiometricPrompt.Builder.SetDescription Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| SetDescription(String) |
Optional: Sets a description that will be shown on the prompt. |
| SetDescription(ICharSequence) |
Optional: Sets a description that will be shown on the prompt. |
SetDescription(String)
Optional: Sets a description that will be shown on the prompt.
public Android.Hardware.Biometrics.BiometricPrompt.Builder SetDescription(string description);
member this.SetDescription : string -> Android.Hardware.Biometrics.BiometricPrompt.Builder
Parameters
- description
- String
The description to display. This value cannot be null.
Returns
This builder. This value cannot be null.
Remarks
Optional: Sets a description that will be shown on the prompt.
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.BiometricPrompt.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(ICharSequence)
Optional: Sets a description that will be shown on the prompt.
[Android.Runtime.Register("setDescription", "(Ljava/lang/CharSequence;)Landroid/hardware/biometrics/BiometricPrompt$Builder;", "GetSetDescription_Ljava_lang_CharSequence_Handler", ApiSince=28)]
public virtual Android.Hardware.Biometrics.BiometricPrompt.Builder SetDescription(Java.Lang.ICharSequence description);
[<Android.Runtime.Register("setDescription", "(Ljava/lang/CharSequence;)Landroid/hardware/biometrics/BiometricPrompt$Builder;", "GetSetDescription_Ljava_lang_CharSequence_Handler", ApiSince=28)>]
abstract member SetDescription : Java.Lang.ICharSequence -> Android.Hardware.Biometrics.BiometricPrompt.Builder
override this.SetDescription : Java.Lang.ICharSequence -> Android.Hardware.Biometrics.BiometricPrompt.Builder
Parameters
- description
- ICharSequence
The description to display. 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 prompt.
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.BiometricPrompt.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.