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

PropertyTypeDescription
DEFAULTEnumThe event is a regular event.
BIRTHDAYEnumThe event is a special all-day event with an annual recurrence.
FOCUS_TIMEEnumThe event is a focus-time event.
FROM_GMAILEnumThe event is an event from Gmail.
OUT_OF_OFFICEEnumThe event is an out-of-office event.
WORKING_LOCATIONEnumThe event is a working location event.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-12-11 UTC.