Enum Visibility
Visibility
An enum representing the visibility of an event.
To call an enum, you call its parent class, name, and property. For example,
CalendarApp.Visibility.CONFIDENTIAL
.
Properties
Property | Type | Description |
CONFIDENTIAL | Enum | The event is private. This value is provided for compatibility reasons. |
DEFAULT | Enum | Uses the default visibility for events on the calendar. |
PRIVATE | Enum | The event is private and only event attendees may view event details. |
PUBLIC | Enum | The event is public and event details are visible to all readers of the calendar. |
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-10-31 UTC.
[null,null,["Last updated 2024-10-31 UTC."],[[["`CalendarApp.Visibility` is an enum used to define the visibility of an event."],["You can set an event's visibility to `CONFIDENTIAL`, `DEFAULT`, `PRIVATE`, or `PUBLIC` to control who can view its details."],["`PRIVATE` events are only visible to attendees, while `PUBLIC` events are visible to all calendar readers."],["`CONFIDENTIAL` is provided for compatibility and `DEFAULT` uses the calendar's default visibility settings."]]],[]]