Enum EventTransparency
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
שקיפות באירועים
enum שמייצג את השקיפות של אירוע.
כדי לקרוא למאפיין enum, צריך לקרוא לכיתה ההורה, לשם ולנכס שלו. לדוגמה,
CalendarApp.EventTransparency.OPAQUE
.
מאפיינים
נכס | סוג | תיאור |
OPAQUE | Enum | האירוע חוסם זמן ביומן. זה מקביל להגדרה של 'הצגת הסטטוס שלי בתור' ל'עסוק' בממשק המשתמש של יומן Google. |
TRANSPARENT | Enum | האירוע לא חוסם זמן ביומן. זה מקביל להגדרה של 'הצגת הסטטוס שלי בתור' ל'זמין' בממשק המשתמש של יומן Google. |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-26 (שעון UTC).
[null,null,["עדכון אחרון: 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. |"]]