public enum MessageStatus extends java.lang.Enum<MessageStatus>
Enum Constant and Description |
---|
NA
Invalid - information not available
|
Sending
Message is in a process of sending
|
SendingFailed
Message sent failed
|
Sent
Message is sent successfully
|
Modifier and Type | Method and Description |
---|---|
static MessageStatus |
fromInt(int i) |
static MessageStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MessageStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MessageStatus NA
public static final MessageStatus Sending
public static final MessageStatus Sent
public static final MessageStatus SendingFailed
public static MessageStatus[] values()
for (MessageStatus c : MessageStatus.values()) System.out.println(c);
public static MessageStatus 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 MessageStatus fromInt(int i)