Enum InputType
इनपुटटाइप
यह एक वैल्यू है, जो विजेट के इनपुट टाइप की जानकारी देती है.
InputType.TEXT
का मतलब है कि इनपुट में सभी वर्णों के साथ रेगुलर टेक्स्ट स्वीकार किया जाता है.
InputType.INTEGER
का मतलब है कि इनपुट में पूर्णांक डाला जा सकता है.
InputType.FLOAT
का मतलब है कि इनपुट में फ़्लोटिंग-पॉइंट नंबर डाला जा सकता है.
InputType.EMAIL
का मतलब है कि इनपुट में ईमेल पता डाला जा सकता है.
किसी एनम को कॉल करने के लिए, उसकी पैरंट क्लास, नाम, और प्रॉपर्टी को कॉल किया जाता है. उदाहरण के लिए,
CardService.InputType.INTEGER
.
प्रॉपर्टी
प्रॉपर्टी | टाइप | ब्यौरा |
TEXT | Enum | सामान्य टेक्स्ट स्वीकार करें. |
INTEGER | Enum | कोई पूर्णांक स्वीकार करें. |
FLOAT | Enum | फ़्लोटिंग-पॉइंट नंबर स्वीकार करें. |
EMAIL | Enum | ईमेल पता स्वीकार करें. |
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2024-12-02 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 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"]]