语言

View.AutofillTypeToggle 字段

定义

注意

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

可转换字段的自动填充类型,该字段由一个 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

字段值

Value = 2
特性

注解

可转换字段的自动填充类型,该字段由一个 boolean填充 。

AutofillValue可以获取View自动填充 a AutofillValue#forToggle(boolean) 的实例,并且传递给自动填充的值View可以通过提取AutofillValue#getToggleValue()。

Java文档android.view.View.AUTOFILL_TYPE_TOGGLE。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于