public static enum SessionEndedRequest.Reason extends Enum<SessionEndedRequest.Reason>
SpeechletV2
itself.SessionEndedRequest.getReason()| Enum Constant and Description |
|---|
ERROR
An error occurred and the session had to be ended.
|
EXCEEDED_MAX_REPROMPTS
The Alexa skill has not received a valid response within the maximum allowed number of
re-prompts.
|
USER_INITIATED
The user explicitly exited the skill.
|
| Modifier and Type | Method and Description |
|---|---|
static SessionEndedRequest.Reason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SessionEndedRequest.Reason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SessionEndedRequest.Reason USER_INITIATED
public static final SessionEndedRequest.Reason ERROR
public static final SessionEndedRequest.Reason EXCEEDED_MAX_REPROMPTS
public static SessionEndedRequest.Reason[] values()
for (SessionEndedRequest.Reason c : SessionEndedRequest.Reason.values()) System.out.println(c);
public static SessionEndedRequest.Reason 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 © 2016. All rights reserved.