語言

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 自動填充 A View 的實例可透過 AutofillValue#forToggle(boolean)取得,且傳遞給自動填充 A View 的值可透過 AutofillValue#getToggleValue()取得。

Java 文件 android.view.View.AUTOFILL_TYPE_TOGGLE。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於