Enum Icon
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-26 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-26 (שעון UTC)."],[[["\u003cp\u003ePredefined icons are available for use in UI objects like ImageButtons and DecoratedText widgets within Google Workspace Add-ons and Google Chat apps.\u003c/p\u003e\n"],["\u003cp\u003eThese icons are accessed by calling their parent class, name, and property, for example: \u003ccode\u003eCardService.Icon.BOOKMARK\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eA variety of icons are offered, including but not limited to: airplane, bookmark, bus, car, clock, and confirmation number.\u003c/p\u003e\n"],["\u003cp\u003eBy default, no icon is applied unless specified using an enum value other than \u003ccode\u003eNONE\u003c/code\u003e.\u003c/p\u003e\n"]]],["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"],null,["# Enum Icon\n\nIcon\n\nPredefined icons that can be used in various UI objects, such as [ImageButton](/apps-script/reference/card-service/image-button) or [DecoratedText](/apps-script/reference/card-service/decorated-text) widgets.\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.Icon.BOOKMARK`. \n\n### Properties\n\n| Property | Type | Description |\n|----------------------------|--------|-------------------|\n| `NONE` | `Enum` | No icon. Default. |\n| `AIRPLANE` | `Enum` | |\n| `BOOKMARK` | `Enum` | |\n| `BUS` | `Enum` | |\n| `CAR` | `Enum` | |\n| `CLOCK` | `Enum` | |\n| `CONFIRMATION_NUMBER_ICON` | `Enum` | |\n| `DOLLAR` | `Enum` | |\n| `DESCRIPTION` | `Enum` | |\n| `EMAIL` | `Enum` | |\n| `EVENT_PERFORMER` | `Enum` | |\n| `EVENT_SEAT` | `Enum` | |\n| `FLIGHT_ARRIVAL` | `Enum` | |\n| `FLIGHT_DEPARTURE` | `Enum` | |\n| `HOTEL` | `Enum` | |\n| `HOTEL_ROOM_TYPE` | `Enum` | |\n| `INVITE` | `Enum` | |\n| `MAP_PIN` | `Enum` | |\n| `MEMBERSHIP` | `Enum` | |\n| `MULTIPLE_PEOPLE` | `Enum` | |\n| `OFFER` | `Enum` | |\n| `PERSON` | `Enum` | |\n| `PHONE` | `Enum` | |\n| `RESTAURANT_ICON` | `Enum` | |\n| `SHOPPING_CART` | `Enum` | |\n| `STAR` | `Enum` | |\n| `STORE` | `Enum` | |\n| `TICKET` | `Enum` | |\n| `TRAIN` | `Enum` | |\n| `VIDEO_CAMERA` | `Enum` | |\n| `VIDEO_PLAY` | `Enum` | |"]]