Language

FillResponse.Builder.SetServiceDisplayNameResourceId(Int32) Method

Definition

Overrides the service name in the Save Dialog header with a specific string defined in the service provider's manifest.xml

[Android.Runtime.Register("setServiceDisplayNameResourceId", "(I)Landroid/service/autofill/FillResponse$Builder;", "", ApiSince=34)]
public Android.Service.Autofill.FillResponse.Builder SetServiceDisplayNameResourceId(int id);
[<Android.Runtime.Register("setServiceDisplayNameResourceId", "(I)Landroid/service/autofill/FillResponse$Builder;", "", ApiSince=34)>]
member this.SetServiceDisplayNameResourceId : int -> Android.Service.Autofill.FillResponse.Builder

Parameters

id
Int32

Resource Id of the custom string defined in the provider's manifest. If set to 0, the default name will be used.

Returns

this builder. This value cannot be null.

Attributes

Remarks

Overrides the service name in the Save Dialog header with a specific string defined in the service provider's manifest.xml

Android reference for android.service.autofill.FillResponse.Builder.setServiceDisplayNameResourceId.

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