Enum ComposedEmailType
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
ComposedEmailType
Giá trị enum chỉ định liệu email đã soạn là email độc lập hay email nháp trả lời.
Để gọi một enum, bạn gọi lớp mẹ, tên và thuộc tính của enum đó. Ví dụ:
CardService.ComposedEmailType.REPLY_AS_DRAFT
.
Thuộc tính
Thuộc tính | Loại | Mô tả |
REPLY_AS_DRAFT | Enum | Thư nháp là thư trả lời một thư khác. Mặc định. |
STANDALONE_DRAFT | Enum | Bản nháp là một thư độc lập. |
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-07-26 UTC.
[null,null,["Cập nhật lần gần đây nhất: 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. |"]]