Enum EventTransparency
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Przejrzystośćwydarzeń
Typ enumeracji reprezentujący przejrzystość zdarzenia.
Aby wywołać enum, wywołaj jego klasę nadrzędną, nazwę i właściwość. Na przykład:
CalendarApp.EventTransparency.OPAQUE
.
Właściwości
Właściwość | Typ | Opis |
OPAQUE | Enum | Wydarzenie blokuje czas w kalendarzu. Jest to równoznaczne z ustawieniem opcji „Pokaż mnie jako” na „Zajęty” w interfejsie Kalendarza. |
TRANSPARENT | Enum | Wydarzenie nie blokuje czasu w kalendarzu. Jest to równoznaczne z ustawieniem opcji „Pokaż mnie jako” na „Dostępny” w interfejsie Kalendarza. |
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-26 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-26 UTC."],[[["\u003cp\u003e\u003ccode\u003eEventTransparency\u003c/code\u003e is an enum used to define how an event appears on a calendar, indicating whether it blocks time or not.\u003c/p\u003e\n"],["\u003cp\u003eThe two possible values are \u003ccode\u003eOPAQUE\u003c/code\u003e (event blocks time, like "Busy") and \u003ccode\u003eTRANSPARENT\u003c/code\u003e (event doesn't block time, like "Available").\u003c/p\u003e\n"],["\u003cp\u003eTo use these values, call them through the parent class and name, for example, \u003ccode\u003eCalendarApp.EventTransparency.OPAQUE\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Enum EventTransparency\n\nEventTransparency\n\nAn enum representing the transparency of an event.\n\nTo call an enum, you call its parent class, name, and property. For example, `\nCalendarApp.EventTransparency.OPAQUE`. \n\n### Properties\n\n| Property | Type | Description |\n|---------------|--------|------------------------------------------------------------------------------------------------------------------------------|\n| `OPAQUE` | `Enum` | The event does block time on the calendar. This is equivalent to setting \"Show me as\" to \"Busy\" in the Calendar UI. |\n| `TRANSPARENT` | `Enum` | The event does not block time on the calendar. This is equivalent to setting \"Show me as\" to \"Available\" in the Calendar UI. |"]]