Enum InputType
Stay organized with collections
Save and categorize content based on your preferences.
InputType
An enum that defines the input type of the widget.
InputType.TEXT
means that the input accepts regular text including all characters.
InputType.INTEGER
means that the input accepts an integer.
InputType.FLOAT
means that the input accepts a floating-point number.
InputType.EMAIL
means that the input accepts an email address.
To call an enum, you call its parent class, name, and property. For example,
CardService.InputType.INTEGER
.
Properties
Property | Type | Description |
TEXT | Enum | Accept regular text. |
INTEGER | Enum | Accept an integer. |
FLOAT | Enum | Accept a floating-point number. |
EMAIL | Enum | Accept an email address. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-23 UTC.
[null,null,["Last updated 2025-01-23 UTC."],[],["`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"],null,[]]