public static enum ResponseMessage.MessageType extends Enum<ResponseMessage.MessageType>
| Enum Constant and Description |
|---|
CARD |
IMAGE |
PAYLOAD |
QUICK_REPLY |
SPEECH |
| Modifier and Type | Method and Description |
|---|---|
int |
getCode() |
Type |
getType() |
static ResponseMessage.MessageType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResponseMessage.MessageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResponseMessage.MessageType SPEECH
public static final ResponseMessage.MessageType CARD
public static final ResponseMessage.MessageType QUICK_REPLY
public static final ResponseMessage.MessageType IMAGE
public static final ResponseMessage.MessageType PAYLOAD
public static ResponseMessage.MessageType[] values()
for (ResponseMessage.MessageType c : ResponseMessage.MessageType.values()) System.out.println(c);
public static ResponseMessage.MessageType 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 Type getType()
Copyright © 2016. All rights reserved.