Enum InputType
InputType
Un enum che definisce il tipo di input del widget.
InputType.TEXT
indica che l'input accetta testo normale, inclusi tutti i caratteri.
InputType.INTEGER
indica che l'input accetta un numero intero.
InputType.FLOAT
indica che l'input accetta un numero con rappresentazione in virgola mobile.
InputType.EMAIL
indica che l'input accetta un indirizzo email.
Per chiamare un enum, devi chiamare la relativa classe, il nome e la proprietà di base. Ad esempio,
CardService.InputType.INTEGER
.
Proprietà
Proprietà | Tipo | Descrizione |
TEXT | Enum | Accetta il testo normale. |
INTEGER | Enum | Accetta un numero intero. |
FLOAT | Enum | Accetta un numero con rappresentazione in virgola mobile. |
EMAIL | Enum | Accetta un indirizzo email. |
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2024-12-02 UTC.
[null,null,["Ultimo aggiornamento 2024-12-02 UTC."],[[["InputType is an enum defining the accepted input type for a widget, such as text, integer, float, or email."],["To utilize an enum, reference its parent class, name, and property, for instance: `CardService.InputType.INTEGER`."],["This feature is currently in Developer Preview and accessible through the Google Workspace Developer Preview Program."]]],["`InputType` is an enum defining acceptable input types for a widget. It includes `TEXT` for all characters, `INTEGER` for whole numbers, `FLOAT` for decimal numbers, and `EMAIL` for email addresses. Each type is called using its parent class, name, and property, like `CardService.InputType.INTEGER`. This feature is part of the Google Workspace Developer Preview Program. Each Input Type Property can be referenced in a table to explain it in detail, such as Type, and Description.\n"]]