public enum ComposeType extends java.lang.Enum<ComposeType>
ComposeType
- The compose type of a messageEnum Constant and Description |
---|
DRAFT
Draft
|
DRAFT_DELETE_ON_TRANSPORT
Draft with
deleteDraftOnTransport enabled. |
DRAFT_EDIT
Draft-Edit
|
DRAFT_NO_DELETE_ON_TRANSPORT
Draft with
deleteDraftOnTransport explicitly disabled. |
FORWARD
Forward
|
NEW
New
|
NEW_SMS
New SMS (special handling for contained text; e.g. no html-to-text conversion)
|
REPLY
Reply
|
Modifier and Type | Method and Description |
---|---|
static ComposeType |
getType(int type)
Gets the corresponding
ComposeType |
static ComposeType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ComposeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ComposeType NEW
public static final ComposeType FORWARD
public static final ComposeType REPLY
public static final ComposeType DRAFT_EDIT
public static final ComposeType DRAFT
public static final ComposeType NEW_SMS
public static final ComposeType DRAFT_DELETE_ON_TRANSPORT
deleteDraftOnTransport
enabled.public static final ComposeType DRAFT_NO_DELETE_ON_TRANSPORT
deleteDraftOnTransport
explicitly disabled.public static ComposeType[] values()
for (ComposeType c : ComposeType.values()) System.out.println(c);
public static ComposeType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static final ComposeType getType(int type)
ComposeType
type
- The send type as int
ComposeType
or null