Język

UserData.Builder.Add(String, String) Method

Definition

Adds a new value for user data.

[Android.Runtime.Register("add", "(Ljava/lang/String;Ljava/lang/String;)Landroid/service/autofill/UserData$Builder;", "", ApiSince=28)]
public Android.Service.Autofill.UserData.Builder Add(string value, string categoryId);
[<Android.Runtime.Register("add", "(Ljava/lang/String;Ljava/lang/String;)Landroid/service/autofill/UserData$Builder;", "", ApiSince=28)>]
member this.Add : string * string -> Android.Service.Autofill.UserData.Builder

Parameters

value
String

value of the user data. This value cannot be null.

categoryId
String

string used to identify the category the value is associated with. This value cannot be null.

Returns

Attributes

Remarks

Adds a new value for user data.

Android reference for android.service.autofill.UserData.Builder.add.

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