Share via


AutofillValue.ForToggle(Boolean) Method

Definition

Creates a new AutofillValue to autofill a View representing a toggable field.

[Android.Runtime.Register("forToggle", "(Z)Landroid/view/autofill/AutofillValue;", "", ApiSince=26)]
public static Android.Views.Autofill.AutofillValue? ForToggle (bool value);
[<Android.Runtime.Register("forToggle", "(Z)Landroid/view/autofill/AutofillValue;", "", ApiSince=26)>]
static member ForToggle : bool -> Android.Views.Autofill.AutofillValue

Parameters

value
Boolean

Returns

Attributes

Remarks

Creates a new AutofillValue to autofill a View representing a toggable field.

See View#AUTOFILL_TYPE_TOGGLE for more info.

Java documentation for android.view.autofill.AutofillValue.forToggle(boolean).

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