Enum EventType
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
इवेंटटाइप
किसी इवेंट के टाइप को दिखाने वाला एनम.
किसी एनम को कॉल करने के लिए, उसकी पैरंट क्लास, नाम, और प्रॉपर्टी को कॉल किया जाता है. उदाहरण के लिए,
CalendarApp.EventType.DEFAULT
.
प्रॉपर्टी
प्रॉपर्टी | टाइप | ब्यौरा |
DEFAULT | Enum | इवेंट, सामान्य इवेंट है. |
BIRTHDAY | Enum | यह इवेंट, पूरे दिन चलने वाला खास इवेंट है, जो साल में एक बार होता है. |
FOCUS_TIME | Enum | यह इवेंट, फ़ोकस टाइम इवेंट है. |
FROM_GMAIL | Enum | यह इवेंट, Gmail से जोड़ा गया है. |
OUT_OF_OFFICE | Enum | इवेंट, 'अभी मैं छुट्टी पर हूं' इवेंट है. |
WORKING_LOCATION | Enum | यह इवेंट, काम करने की जगह की जानकारी वाला इवेंट है. |
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया."],[[["\u003cp\u003e\u003ccode\u003eEventType\u003c/code\u003e is an enum used to represent the type of a calendar event, such as a regular event, a birthday, or a focus-time event.\u003c/p\u003e\n"],["\u003cp\u003eTo call an enum property, use the syntax \u003ccode\u003eCalendarApp.EventType.PROPERTY_NAME\u003c/code\u003e, for example, \u003ccode\u003eCalendarApp.EventType.BIRTHDAY\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eEventType\u003c/code\u003e enum includes properties like \u003ccode\u003eDEFAULT\u003c/code\u003e, \u003ccode\u003eBIRTHDAY\u003c/code\u003e, \u003ccode\u003eFOCUS_TIME\u003c/code\u003e, \u003ccode\u003eFROM_GMAIL\u003c/code\u003e, \u003ccode\u003eOUT_OF_OFFICE\u003c/code\u003e, and \u003ccode\u003eWORKING_LOCATION\u003c/code\u003e, each representing a different event type.\u003c/p\u003e\n"]]],[],null,["# Enum EventType\n\nEventType\n\nAn enum representing the type of an event.\n\nTo call an enum, you call its parent class, name, and property. For example, `\nCalendarApp.EventType.DEFAULT`. \n\n### Properties\n\n| Property | Type | Description |\n|--------------------|--------|-----------------------------------------------------------------|\n| `DEFAULT` | `Enum` | The event is a regular event. |\n| `BIRTHDAY` | `Enum` | The event is a special all-day event with an annual recurrence. |\n| `FOCUS_TIME` | `Enum` | The event is a focus-time event. |\n| `FROM_GMAIL` | `Enum` | The event is an event from Gmail. |\n| `OUT_OF_OFFICE` | `Enum` | The event is an out-of-office event. |\n| `WORKING_LOCATION` | `Enum` | The event is a working location event. |"]]