public static enum ConversationData.Format extends Enum<ConversationData.Format>
Enum Constant and Description |
---|
TEXT
The data will be printed in a text response.
|
VOICE
The data will be synthesized by a TTS engine.
|
Modifier and Type | Method and Description |
---|---|
static ConversationData.Format |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConversationData.Format[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConversationData.Format TEXT
public static final ConversationData.Format VOICE
public static ConversationData.Format[] values()
for (ConversationData.Format c : ConversationData.Format.values()) System.out.println(c);
public static ConversationData.Format 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 nullCopyright © 2021. All rights reserved.