Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
Icône
Icônes prédéfinies pouvant être utilisées dans divers objets d'interface utilisateur, tels que les widgets ImageButton ou DecoratedText.
Disponible pour les modules complémentaires Google Workspace et les applications Google Chat.
Pour appeler un énumération, vous devez appeler sa classe parente, son nom et sa propriété. Par exemple,
CardService.Icon.BOOKMARK.
Propriétés
Propriété
Type
Description
NONE
Enum
Aucune icône. Par défaut.
AIRPLANE
Enum
BOOKMARK
Enum
BUS
Enum
CAR
Enum
CLOCK
Enum
CONFIRMATION_NUMBER_ICON
Enum
DOLLAR
Enum
DESCRIPTION
Enum
EMAIL
Enum
EVENT_PERFORMER
Enum
EVENT_SEAT
Enum
FLIGHT_ARRIVAL
Enum
FLIGHT_DEPARTURE
Enum
HOTEL
Enum
HOTEL_ROOM_TYPE
Enum
INVITE
Enum
MAP_PIN
Enum
MEMBERSHIP
Enum
MULTIPLE_PEOPLE
Enum
OFFER
Enum
PERSON
Enum
PHONE
Enum
RESTAURANT_ICON
Enum
SHOPPING_CART
Enum
STAR
Enum
STORE
Enum
TICKET
Enum
TRAIN
Enum
VIDEO_CAMERA
Enum
VIDEO_PLAY
Enum
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/01/30 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Il n'y a pas l'information dont j'ai besoin","missingTheInformationINeed","thumb-down"],["Trop compliqué/Trop d'étapes","tooComplicatedTooManySteps","thumb-down"],["Obsolète","outOfDate","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Mauvais exemple/Erreur de code","samplesCodeIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 2025/01/30 (UTC)."],[[["Predefined icons are available for use in UI objects like ImageButtons and DecoratedText widgets within Google Workspace Add-ons and Google Chat apps."],["These icons are accessed by calling their parent class, name, and property, for example: `CardService.Icon.BOOKMARK`."],["A variety of icons are offered, including but not limited to: airplane, bookmark, bus, car, clock, and confirmation number."],["By default, no icon is applied unless specified using an enum value other than `NONE`."]]],["Predefined icons are available for UI objects like ImageButton and DecoratedText in Google Workspace add-ons and Chat apps. These icons are accessed via the `CardService.Icon` class, followed by the icon's name (e.g., `CardService.Icon.BOOKMARK`). Available icons include `NONE` (default), `AIRPLANE`, `BOOKMARK`, `BUS`, `CAR`, and others relating to common items, up to `VIDEO_PLAY`.\n"]]