Enum ComposedEmailType
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
撰写的电子邮件类型
一个枚举值,用于指定撰写的电子邮件是独立邮件还是回复草稿。
如需调用枚举,您可以调用其父类、名称和属性。例如
CardService.ComposedEmailType.REPLY_AS_DRAFT
。
属性
属性 | 类型 | 说明 |
REPLY_AS_DRAFT | Enum | 是对其他邮件的回复草稿。默认。 |
STANDALONE_DRAFT | Enum | 独立邮件的草稿。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[[["\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. |"]]