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 можно получить с помощью AutofillValue#forToggle(boolean), а значение, переданное в автозаполнение , View можно получить с помощью AutofillValue#getToggleValue().

Документация по Java для android.view.View.AUTOFILL_TYPE_TOGGLE.

Части этой страницы являются изменениями, основанными на работе, созданной и совместно используемой проектом и используемой в соответствии с условиями, Creative Commons 2.5 Attribution License Creative Commons 2.5 Attribution License.

Применяется к