public static enum Message.MessageType extends java.lang.Enum<Message.MessageType>
Enum Constant and Description |
---|
Balance
Billing balance update
|
DriverSMS
SMS from driver
|
Notification
Notification
|
UnitCmd
Unit command
|
UnitData
Unit data message
|
UnitEvent
Unit event
|
UnitSMS
Unit SMS
|
Modifier and Type | Method and Description |
---|---|
static java.lang.Class |
getMessageClass(Message.messageFlag messageFlag,
java.lang.String tp) |
Message.messageFlag |
getMessageFlag() |
java.lang.String |
getValue() |
static Message.MessageType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Message.MessageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Message.MessageType UnitData
public static final Message.MessageType UnitSMS
public static final Message.MessageType UnitCmd
public static final Message.MessageType UnitEvent
public static final Message.MessageType Notification
public static final Message.MessageType Balance
public static final Message.MessageType DriverSMS
public static Message.MessageType[] values()
for (Message.MessageType c : Message.MessageType.values()) System.out.println(c);
public static Message.MessageType 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 java.lang.Class getMessageClass(Message.messageFlag messageFlag, java.lang.String tp)
public Message.messageFlag getMessageFlag()
public java.lang.String getValue()