Enum ComposedEmailType
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
ComposedEmailType
ערך enum שמציין אם האימייל שנכתב הוא טיוטה עצמאית או טיוטת תשובה.
כדי לקרוא למאפיין enum, צריך לקרוא לכיתה ההורה, לשם ולנכס שלו. לדוגמה,
CardService.ComposedEmailType.REPLY_AS_DRAFT
.
מאפיינים
נכס | סוג | תיאור |
REPLY_AS_DRAFT | Enum | טיוטה שהיא תשובה להודעה אחרת. ברירת מחדל. |
STANDALONE_DRAFT | Enum | טיוטה של הודעה עצמאית. |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-26 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-26 (שעון UTC)."],[[["\u003cp\u003e\u003ccode\u003eComposedEmailType\u003c/code\u003e is used to define if a composed email is a standalone message or a reply draft.\u003c/p\u003e\n"],["\u003cp\u003eTo use \u003ccode\u003eComposedEmailType\u003c/code\u003e, call it using \u003ccode\u003eCardService.ComposedEmailType\u003c/code\u003e along with the desired property like \u003ccode\u003eREPLY_AS_DRAFT\u003c/code\u003e or \u003ccode\u003eSTANDALONE_DRAFT\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe default value for \u003ccode\u003eComposedEmailType\u003c/code\u003e is \u003ccode\u003eREPLY_AS_DRAFT\u003c/code\u003e, indicating a reply to another message.\u003c/p\u003e\n"]]],["The `ComposedEmailType` enum defines the type of an email draft. It has two properties: `REPLY_AS_DRAFT`, representing a reply draft (default), and `STANDALONE_DRAFT`, representing a new, independent message. To use these properties, call `CardService.ComposedEmailType` followed by the desired property, such as `REPLY_AS_DRAFT`. The enum type indicates whether the draft is associated with another message or not.\n"],null,["# Enum ComposedEmailType\n\nComposedEmailType\n\nAn enum value that specifies whether the composed email is a standalone or reply draft.\n\nTo call an enum, you call its parent class, name, and property. For example, `\nCardService.ComposedEmailType.REPLY_AS_DRAFT`. \n\n### Properties\n\n| Property | Type | Description |\n|--------------------|--------|------------------------------------------------------|\n| `REPLY_AS_DRAFT` | `Enum` | A draft that is a reply to another message. Default. |\n| `STANDALONE_DRAFT` | `Enum` | A draft that is a standalone message. |"]]