Compartir a través de


View.AutofillType Property

Definition

Describes the autofill type of this view, so an android.service.autofill.AutofillService can create the proper AutofillValue when autofilling the view.

public virtual Android.Views.AutofillType AutofillType { [Android.Runtime.Register("getAutofillType", "()I", "GetGetAutofillTypeHandler", ApiSince=26)] get; }
[<get: Android.Runtime.Register("getAutofillType", "()I", "GetGetAutofillTypeHandler", ApiSince=26)>]
member this.AutofillType : Android.Views.AutofillType

Property Value

either #AUTOFILL_TYPE_NONE, #AUTOFILL_TYPE_TEXT, #AUTOFILL_TYPE_LIST, #AUTOFILL_TYPE_DATE, or #AUTOFILL_TYPE_TOGGLE.

Attributes

Remarks

Describes the autofill type of this view, so an android.service.autofill.AutofillService can create the proper AutofillValue when autofilling the view.

By default returns #AUTOFILL_TYPE_NONE, but views should override it to properly support the Autofill Framework.

Java documentation for android.view.View.getAutofillType().

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