Enum LoadIndicator
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
加载指示器
一个枚举类型,用于指定在处理 Action
时要显示的加载或进度指示器的类型。
适用于 Google Workspace 插件和 Google Chat 应用。
如需调用枚举,您可以调用其父类、名称和属性。例如
CardService.LoadIndicator.SPINNER
。
属性
属性 | 类型 | 说明 |
SPINNER | Enum | 使用旋转图标指示器。默认。 |
NONE | Enum | 请勿使用指示器。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):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. |"]]