Enum EventType
EventType
An enum representing the type of an event.
To call an enum, you call its parent class, name, and property. For example,
CalendarApp.EventType.DEFAULT
.
Properties
Property | Type | Description |
DEFAULT | Enum | The event is a regular event. |
BIRTHDAY | Enum | The event is a special all-day event with an annual recurrence. |
FOCUS_TIME | Enum | The event is a focus-time event. |
FROM_GMAIL | Enum | The event is an event from Gmail. |
OUT_OF_OFFICE | Enum | The event is an out-of-office event. |
WORKING_LOCATION | Enum | The event is a working location event. |
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 2024-07-24 UTC.
[null,null,["Last updated 2024-07-24 UTC."],[[["`EventType` is an enum used to represent the type of a calendar event, such as a regular event, a birthday, or a focus-time event."],["To call an enum property, use the syntax `CalendarApp.EventType.PROPERTY_NAME`, for example, `CalendarApp.EventType.BIRTHDAY`."],["The `EventType` enum includes properties like `DEFAULT`, `BIRTHDAY`, `FOCUS_TIME`, `FROM_GMAIL`, `OUT_OF_OFFICE`, and `WORKING_LOCATION`, each representing a different event type."]]],[]]