public enum MsgStatusEnum extends java.lang.Enum<MsgStatusEnum>
AttachStatusEnum
.Enum Constant and Description |
---|
draft
Draft
|
fail
Failed
|
read
Read
For sent messages, the messages are read by the recipient.
|
sending
Sending
|
success
Sent
|
unread
Unread
|
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static MsgStatusEnum |
statusOfValue(int status) |
static MsgStatusEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MsgStatusEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MsgStatusEnum draft
public static final MsgStatusEnum sending
public static final MsgStatusEnum success
public static final MsgStatusEnum fail
public static final MsgStatusEnum read
public static final MsgStatusEnum unread
public static MsgStatusEnum[] values()
for (MsgStatusEnum c : MsgStatusEnum.values()) System.out.println(c);
public static MsgStatusEnum 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 MsgStatusEnum statusOfValue(int status)
public int getValue()