Enum LoadIndicator
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
載入指標
列舉類型,用於指定在處理 Action
時要顯示的載入或進度指標類型。
適用於 Google Workspace 外掛程式和 Google Chat 應用程式。
如要呼叫列舉,請呼叫其父項類別、名稱和屬性。例如
CardService.LoadIndicator.SPINNER
。
屬性
屬性 | 類型 | 說明 |
SPINNER | Enum | 使用旋轉指標。預設值。 |
NONE | Enum | 請勿使用指標。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-26 (世界標準時間)。
[null,null,["上次更新時間:2025-07-26 (世界標準時間)。"],[[["\u003cp\u003e\u003ccode\u003eLoadIndicator\u003c/code\u003e is an enum used to specify the type of loading indicator displayed during an action's processing in Google Workspace Add-ons and Google Chat apps.\u003c/p\u003e\n"],["\u003cp\u003eIt offers two options: \u003ccode\u003eSPINNER\u003c/code\u003e (default) for a spinner indicator and \u003ccode\u003eNONE\u003c/code\u003e to disable any indicator.\u003c/p\u003e\n"],["\u003cp\u003eTo use it, call it using \u003ccode\u003eCardService.LoadIndicator\u003c/code\u003e followed by the desired property like \u003ccode\u003eCardService.LoadIndicator.SPINNER\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Enum LoadIndicator\n\nLoadIndicator\n\nAn enum type that specifies the type of loading or progress indicator to display while an [Action](/apps-script/reference/card-service/action) is being processed.\n\nAvailable for Google Workspace add-ons and Google Chat apps.\n\nTo call an enum, you call its parent class, name, and property. For example, `\nCardService.LoadIndicator.SPINNER`. \n\n### Properties\n\n| Property | Type | Description |\n|-----------|--------|-----------------------------------|\n| `SPINNER` | `Enum` | Use a spinner indicator. Default. |\n| `NONE` | `Enum` | Do not use an indicator. |"]]