AutofillValue.ForToggle(Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
The toggle value to autofill.
Returns
An AutofillValue for a toggleable field.
- Attributes
Remarks
Creates a new AutofillValue to autofill a View representing a toggleable 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.