View.AutofillTypeToggle 字段
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
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
可以通过 获取AutofillValue#forToggle(boolean)
用于自动填充 的View
实例,而传递给自动填充 View
的值可以通过 获取AutofillValue#getToggleValue()
。
的 android.view.View.AUTOFILL_TYPE_TOGGLE
Java 文档。
此页面的某些部分是基于 创建和共享的工作进行的修改,并根据 署名许可中所述的条款使用。