Langue

AutofillValue.ForToggle(Boolean) Méthode

Définition

Crée un nouveau AutofillValue pour remplir automatiquement un View champ bascule.

[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

Paramètres

value
Boolean

Valeur bascule à remplir automatiquement.

Retours

Pour AutofillValue un champ bascule.

Attributs

Remarques

Crée un nouveau AutofillValue pour remplir automatiquement un View champ bascule.

Pour plus d'informations, consultez View#AUTOFILL_TYPE_TOGGLE.

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

Les parties de cette page sont des modifications basées sur le travail créé et partagé par Android Open Source et utilisées en fonction des termes décrits dans la Creative Commons 2.5 Attribution License.

S’applique à