Language

SaveInfo.Builder.SetCustomDescription(CustomDescription) Method

Definition

Sets a custom description to be shown in the UI when the user is asked to save.

[Android.Runtime.Register("setCustomDescription", "(Landroid/service/autofill/CustomDescription;)Landroid/service/autofill/SaveInfo$Builder;", "", ApiSince=27)]
public Android.Service.Autofill.SaveInfo.Builder SetCustomDescription(Android.Service.Autofill.CustomDescription customDescription);
[<Android.Runtime.Register("setCustomDescription", "(Landroid/service/autofill/CustomDescription;)Landroid/service/autofill/SaveInfo$Builder;", "", ApiSince=27)>]
member this.SetCustomDescription : Android.Service.Autofill.CustomDescription -> Android.Service.Autofill.SaveInfo.Builder

Parameters

customDescription
CustomDescription

the custom description. This value cannot be null.

Returns

This Builder. This value cannot be null.

Attributes

Remarks

Sets a custom description to be shown in the UI when the user is asked to save.

Typically used when the service must show more info about the object being saved, like a credit card logo, masked number, and expiration date.

Android reference for android.service.autofill.SaveInfo.Builder.setCustomDescription.

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