Enum LoadIndicator
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Wskaźnik obciążenia
Typ enumeracji określający typ wskaźnika wczytywania lub postępu, który ma być wyświetlany podczas przetwarzania Action
.
Dostępne w przypadku dodatków do Google Workspace i aplikacji Google Chat.
Aby wywołać enum, wywołaj jego klasę nadrzędną, nazwę i właściwość. Na przykład:
CardService.LoadIndicator.SPINNER
.
Właściwości
Właściwość | Typ | Opis |
SPINNER | Enum | Użyj wskaźnika spinner. Domyślny: |
NONE | Enum | Nie używaj wskaźnika. |
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-26 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-26 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. |"]]