Enum LoadIndicator
Stay organized with collections
Save and categorize content based on your preferences.
LoadIndicator
An enum type that specifies the type of loading or progress indicator to display while an Action
is being processed.
Available for Google Workspace add-ons and Google Chat apps.
To call an enum, you call its parent class, name, and property. For example,
CardService.LoadIndicator.SPINNER
.
Properties
Property | Type | Description |
SPINNER | Enum | Use a spinner indicator. Default. |
NONE | Enum | Do not use an indicator. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-30 UTC.
[null,null,["Last updated 2025-01-30 UTC."],[[["\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. |"]]