public enum LocalMessageStatus extends java.lang.Enum<LocalMessageStatus>
| Enum Constant and Description |
|---|
delivered
Message status set when the 'delivered' event has been delivered from another device.
|
error
Message status set locally when the sdk failed to send the message.
|
read
Message status set when the 'read' event has been delivered from another device.
|
sent
Status set locally when the request to send the message has been sent.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getValue() |
static LocalMessageStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LocalMessageStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LocalMessageStatus sent
public static final LocalMessageStatus delivered
public static final LocalMessageStatus read
public static final LocalMessageStatus error
public static LocalMessageStatus[] values()
for (LocalMessageStatus c : LocalMessageStatus.values()) System.out.println(c);
public static LocalMessageStatus 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 int getValue()