Enum GuestStatus
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
訪客狀態
列舉項目,代表邀請對象在活動中的狀態。
如要呼叫列舉,請呼叫其父項類別、名稱和屬性。例如
CalendarApp.GuestStatus.INVITED
。
屬性
屬性 | 類型 | 說明 |
INVITED | Enum | 受邀者已收到邀請,但尚未表示是否會出席。 |
MAYBE | Enum | 邀請對象表示可能會出席。 |
NO | Enum | 邀請對象已表示不會出席。 |
OWNER | Enum | 邀請對象是活動擁有者。 |
YES | Enum | 邀請對象已表示會出席。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-26 (世界標準時間)。
[null,null,["上次更新時間:2025-07-26 (世界標準時間)。"],[[["\u003cp\u003e\u003ccode\u003eGuestStatus\u003c/code\u003e is an enum defining the possible attendance statuses for guests of an event in Google Calendar.\u003c/p\u003e\n"],["\u003cp\u003eThe enum includes statuses like \u003ccode\u003eINVITED\u003c/code\u003e, \u003ccode\u003eMAYBE\u003c/code\u003e, \u003ccode\u003eNO\u003c/code\u003e, \u003ccode\u003eOWNER\u003c/code\u003e, and \u003ccode\u003eYES\u003c/code\u003e, indicating the guest's response to the event invitation.\u003c/p\u003e\n"],["\u003cp\u003eTo use a specific guest status, call it using the format \u003ccode\u003eCalendarApp.GuestStatus.STATUS\u003c/code\u003e, replacing \u003ccode\u003eSTATUS\u003c/code\u003e with the desired status like \u003ccode\u003eINVITED\u003c/code\u003e or \u003ccode\u003eYES\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Enum GuestStatus\n\nGuestStatus\n\nAn enum representing the statuses a guest can have for an event.\n\nTo call an enum, you call its parent class, name, and property. For example, `\nCalendarApp.GuestStatus.INVITED`. \n\n### Properties\n\n| Property | Type | Description |\n|-----------|--------|-------------------------------------------------------------------------------|\n| `INVITED` | `Enum` | The guest has been invited, but has not indicated whether they are attending. |\n| `MAYBE` | `Enum` | The guest has indicated they might attend. |\n| `NO` | `Enum` | The guest has indicated they are not attending. |\n| `OWNER` | `Enum` | The guest is the owner of the event. |\n| `YES` | `Enum` | The guest has indicated they are attending. |"]]