Enum EventTransparency
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
ความโปร่งใสของเหตุการณ์
อาร์เรย์แบบจำกัดที่แสดงถึงความโปร่งใสของเหตุการณ์
หากต้องการเรียกใช้ enum ให้เรียกคลาสหลัก ชื่อ และพร็อพเพอร์ตี้ของ enum นั้น เช่น
CalendarApp.EventTransparency.OPAQUE
พร็อพเพอร์ตี้
พร็อพเพอร์ตี้ | ประเภท | คำอธิบาย |
OPAQUE | Enum | กิจกรรมจะบล็อกเวลาในปฏิทิน ซึ่งเทียบเท่ากับการตั้งค่า "แสดงฉันเป็น" เป็น "ไม่ว่าง" ใน UI ของปฏิทิน |
TRANSPARENT | Enum | กิจกรรมไม่ได้บล็อกเวลาในปฏิทิน ซึ่งเทียบเท่ากับการตั้งค่า "แสดงฉันเป็น" เป็น "ว่าง" ใน UI ของปฏิทิน |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 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. |"]]