다음을 통해 공유


View.AutofillTypeToggle Field

Definition

Caution

This constant will be removed in the future version. Use Android.Views.AutofillType enum directly instead of this field.

Autofill type for a togglable field, which is filled by a boolean.

[Android.Runtime.Register("AUTOFILL_TYPE_TOGGLE", ApiSince=26)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Views.AutofillType enum directly instead of this field.", true)]
public const Android.Views.AutofillType AutofillTypeToggle = 2;
[<Android.Runtime.Register("AUTOFILL_TYPE_TOGGLE", ApiSince=26)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Views.AutofillType enum directly instead of this field.", true)>]
val mutable AutofillTypeToggle : Android.Views.AutofillType

Field Value

Value = 2
Attributes

Remarks

Autofill type for a togglable field, which is filled by a boolean.

AutofillValue instances for autofilling a View can be obtained through AutofillValue#forToggle(boolean), and the value passed to autofill a View can be fetched through AutofillValue#getToggleValue().

Java documentation for android.view.View.AUTOFILL_TYPE_TOGGLE.

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