AutofillManager.UserData Property

Definition

Gets the user data used for field classification. -or- Sets the UserData used for field classification

public Android.Service.Autofill.UserData? UserData { [Android.Runtime.Register("getUserData", "()Landroid/service/autofill/UserData;", "", ApiSince=28)] get; [Android.Runtime.Register("setUserData", "(Landroid/service/autofill/UserData;)V", "", ApiSince=28)] set; }
[<get: Android.Runtime.Register("getUserData", "()Landroid/service/autofill/UserData;", "", ApiSince=28)>]
[<set: Android.Runtime.Register("setUserData", "(Landroid/service/autofill/UserData;)V", "", ApiSince=28)>]
member this.UserData : Android.Service.Autofill.UserData with get, set

Property Value

value previously set by #setUserData(UserData) or null if it was reset or if the caller currently does not have an enabled autofill service for the user.

Attributes

Remarks

Property getter documentation:

Gets the user data used for field classification.

<b>Note:</b> This method should only be called by an app providing an autofill service, and it's ignored if the caller currently doesn't have an enabled autofill service for the user.

Java documentation for android.view.autofill.AutofillManager.getUserData().

Property setter documentation:

Sets the UserData used for field classification

<b>Note:</b> This method should only be called by an app providing an autofill service, and it's ignored if the caller currently doesn't have an enabled autofill service for the user.

Java documentation for android.view.autofill.AutofillManager.setUserData(android.service.autofill.UserData).

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