SaveInfo.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(ICharSequence) |
Sets an optional description to be shown in the UI when the user is asked to save. |
| SetDescription(String) |
Sets an optional description to be shown in the UI when the user is asked to save. |
SetDescription(ICharSequence)
Sets an optional description to be shown in the UI when the user is asked to save.
[Android.Runtime.Register("setDescription", "(Ljava/lang/CharSequence;)Landroid/service/autofill/SaveInfo$Builder;", "", ApiSince=26)]
public Android.Service.Autofill.SaveInfo.Builder SetDescription(Java.Lang.ICharSequence? description);
[<Android.Runtime.Register("setDescription", "(Ljava/lang/CharSequence;)Landroid/service/autofill/SaveInfo$Builder;", "", ApiSince=26)>]
member this.SetDescription : Java.Lang.ICharSequence -> Android.Service.Autofill.SaveInfo.Builder
Parameters
- description
- ICharSequence
a succint description. This value may be null.
Returns
This Builder. This value cannot be null.
- Attributes
Remarks
Sets an optional description to be shown in the UI when the user is asked to save.
Typically, it describes how the data will be stored by the service, so it can help users to decide whether they can trust the service to save their data.
Android reference for android.service.autofill.SaveInfo.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)
Sets an optional description to be shown in the UI when the user is asked to save.
public Android.Service.Autofill.SaveInfo.Builder SetDescription(string? description);
member this.SetDescription : string -> Android.Service.Autofill.SaveInfo.Builder
Parameters
- description
- String
a succint description. This value may be null.
Returns
This Builder. This value cannot be null.
Remarks
Sets an optional description to be shown in the UI when the user is asked to save.
Typically, it describes how the data will be stored by the service, so it can help users to decide whether they can trust the service to save their data.
Android reference for android.service.autofill.SaveInfo.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.