Enum InputType
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
ইনপুট প্রকার একটি enum যা উইজেটের ইনপুট প্রকারকে সংজ্ঞায়িত করে।
Input Type.TEXT
অর্থ হল ইনপুট সমস্ত অক্ষর সহ নিয়মিত পাঠ্য গ্রহণ করে।
Input Type.INTEGER
মানে ইনপুট একটি পূর্ণসংখ্যা গ্রহণ করে।
Input Type.FLOAT
মানে ইনপুট একটি ফ্লোটিং-পয়েন্ট নম্বর গ্রহণ করে।
Input Type.EMAIL
মানে ইনপুট একটি ইমেল ঠিকানা গ্রহণ করে৷
একটি enum কল করার জন্য, আপনি তার পিতামাতার শ্রেণী, নাম এবং সম্পত্তি কল করুন। উদাহরণস্বরূপ, CardService.InputType.INTEGER
।
বৈশিষ্ট্য
সম্পত্তি | টাইপ | বর্ণনা |
---|
TEXT | Enum | নিয়মিত পাঠ্য গ্রহণ করুন। |
INTEGER | Enum | একটি পূর্ণসংখ্যা গ্রহণ করুন। |
FLOAT | Enum | একটি ফ্লোটিং-পয়েন্ট নম্বর গ্রহণ করুন। |
EMAIL | Enum | একটি ইমেল ঠিকানা গ্রহণ করুন. |
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-07-24 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-07-24 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003eInputType is an enum defining the accepted input type for a widget, such as text, integer, float, or email.\u003c/p\u003e\n"],["\u003cp\u003eTo utilize an enum, reference its parent class, name, and property, for instance: \u003ccode\u003eCardService.InputType.INTEGER\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThis feature is currently in Developer Preview and accessible through the Google Workspace Developer Preview Program.\u003c/p\u003e\n"]]],["`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,["# Enum InputType\n\nInputType\n\nAn enum that defines the input type of the widget.\n\n\n`Input``Type.TEXT` means that the input accepts regular text including all characters.\n\n\n`Input``Type.INTEGER` means that the input accepts an integer.\n\n\n`Input``Type.FLOAT` means that the input accepts a floating-point number.\n\n\n`Input``Type.EMAIL` means that the input accepts an email address.\n\nTo call an enum, you call its parent class, name, and property. For example, `\nCardService.InputType.INTEGER`.\n\n\n| **Developer Preview:** Available as part of the [Google Workspace Developer Preview Program](https://developers.google.com/workspace/preview), which grants early access to certain features.\n\n\u003cbr /\u003e\n\n### Properties\n\n| Property | Type | Description |\n|-----------|--------|---------------------------------|\n| `TEXT` | `Enum` | Accept regular text. |\n| `INTEGER` | `Enum` | Accept an integer. |\n| `FLOAT` | `Enum` | Accept a floating-point number. |\n| `EMAIL` | `Enum` | Accept an email address. |"]]