public final class SessionEndedRequest extends CoreSpeechletRequest
SpeechletV2 that a
session ended.| Modifier and Type | Class and Description |
|---|---|
static class |
SessionEndedRequest.Builder
Builder used to construct a new
SessionEndedRequest. |
static class |
SessionEndedRequest.Reason
This enum lists the reasons why a session ended when not initiated by the
SpeechletV2
itself. |
SpeechletRequest.SpeechletRequestBuilder<T extends SpeechletRequest.SpeechletRequestBuilder,S extends SpeechletRequest>| Modifier and Type | Method and Description |
|---|---|
static SessionEndedRequest.Builder |
builder()
Returns a new builder instance used to construct a new
SessionEndedRequest. |
Error |
getError() |
SessionEndedRequest.Reason |
getReason()
Returns the reason for the session to have ended.
|
getLocale, getRequestId, getTimestamppublic static SessionEndedRequest.Builder builder()
SessionEndedRequest.public SessionEndedRequest.Reason getReason()
null if the value for the reason is not supported by the
version of the SDK used.public Error getError()
Reason was
Reason.ERRORCopyright © 2016. All rights reserved.