public static enum DialogueEvent.Type extends Enum<DialogueEvent.Type>
| Enum Constant and Description |
|---|
ACTION
The user has requested the app to perform an action.
|
ERROR
A dialogue-related error has occurred.
|
PROMPT
A system prompt is ready to be displayed and/or read to the user.
|
STATE_CHANGE
The user's conversational context has changed, which might indicate
the need for a visual transition in the app.
|
| Modifier and Type | Method and Description |
|---|---|
static DialogueEvent.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DialogueEvent.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DialogueEvent.Type ACTION
public static final DialogueEvent.Type PROMPT
public static final DialogueEvent.Type STATE_CHANGE
public static final DialogueEvent.Type ERROR
public static DialogueEvent.Type[] values()
for (DialogueEvent.Type c : DialogueEvent.Type.values()) System.out.println(c);
public static DialogueEvent.Type 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.