public enum MessageContentType extends Enum<MessageContentType> implements HasName
| Enum Constant and Description |
|---|
BEEP
Text message that causes the GoDevice to beep.
|
CAN
Text message that contains bytes to give to a third-party IOX Add-On.
|
CANNED_RESPONSE
Text message that also includes response options.
|
DATA_TO_COMPONENT
Content Type for sending data to a component.
|
DRIVER_WHITE_LIST
Text message with information to add/remove a driver from a
GoDevice's white list. |
FLASH_MEMORY |
GO_TALK
Text message that is converted to speech.
|
IMMOBILIZATION
Content Type for immobilization.
|
IOX_OUTPUT
Text message that includes instructions to open or close an IOX-OUTPUT relay.
|
LOCATION
Text message that includes a location.
|
MIME_CONTENT
The MIME content.
|
MIME_REFERENCE_CONTENT |
NORMAL
Basic text message.
|
OTAU_CONTENT |
PASSTHROUGH_ENABLED_MESSAGE
Text message that contains bytes to give to a third-party IOX Add-On.
|
SERIAL_IOX
Text message that contains bytes to give to a third-party IOX Add-On.
|
STATUS_DATA_REQUEST
Content Type for a status data request.
|
VEHICLE_COMMAND
Content used to issue commands to a vehicle (for example locking doors).
|
WORKSHOP_MODE |
| Modifier and Type | Method and Description |
|---|---|
static MessageContentType |
findOrDefault(String name) |
int |
getCode() |
String |
getName() |
static MessageContentType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MessageContentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MessageContentType NORMAL
public static final MessageContentType CANNED_RESPONSE
public static final MessageContentType LOCATION
public static final MessageContentType DATA_TO_COMPONENT
public static final MessageContentType STATUS_DATA_REQUEST
public static final MessageContentType IMMOBILIZATION
public static final MessageContentType GO_TALK
public static final MessageContentType IOX_OUTPUT
public static final MessageContentType BEEP
public static final MessageContentType SERIAL_IOX
public static final MessageContentType DRIVER_WHITE_LIST
GoDevice's white list.public static final MessageContentType MIME_CONTENT
public static final MessageContentType CAN
public static final MessageContentType PASSTHROUGH_ENABLED_MESSAGE
public static final MessageContentType VEHICLE_COMMAND
public static final MessageContentType OTAU_CONTENT
public static final MessageContentType WORKSHOP_MODE
public static final MessageContentType FLASH_MEMORY
public static final MessageContentType MIME_REFERENCE_CONTENT
public static MessageContentType[] values()
for (MessageContentType c : MessageContentType.values()) System.out.println(c);
public static MessageContentType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int getCode()
public static MessageContentType findOrDefault(String name)
Copyright © 2023. All rights reserved.