Enum ComposedEmailType
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
JenisEmail yang Disusun
Nilai enum yang menentukan apakah email yang ditulis adalah draf mandiri atau balasan.
Untuk memanggil enum, Anda memanggil class induk, nama, dan propertinya. Misalnya,
CardService.ComposedEmailType.REPLY_AS_DRAFT
.
Properti
Properti | Jenis | Deskripsi |
REPLY_AS_DRAFT | Enum | Draf yang merupakan balasan untuk pesan lain. Default. |
STANDALONE_DRAFT | Enum | Draf yang merupakan pesan mandiri. |
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-07-26 UTC.
[null,null,["Terakhir diperbarui pada 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. |"]]