Package ai.tock.bot.connector.alexa
Class AlexaConnectorCallback
-
- All Implemented Interfaces:
-
ai.tock.bot.connector.ConnectorCallback,com.amazon.speech.speechlet.SpeechletV2
public final class AlexaConnectorCallback extends ConnectorCallbackBase implements SpeechletV2The alexa connector callback.
-
-
Field Summary
Fields Modifier and Type Field Description private final SpeechletRequestEnvelope<?>alexaRequestprivate final StringapplicationIdprivate final ConnectorTypeconnectorType
-
Method Summary
Modifier and Type Method Description final SpeechletRequestEnvelope<?>getAlexaRequest()StringgetApplicationId()UnitexceptionThrown(Event event, Throwable throwable)UnitonSessionStarted(SpeechletRequestEnvelope<SessionStartedRequest> requestEnvelope)UnitonSessionEnded(SpeechletRequestEnvelope<SessionEndedRequest> requestEnvelope)SpeechletResponseonIntent(SpeechletRequestEnvelope<IntentRequest> requestEnvelope)SpeechletResponseonLaunch(SpeechletRequestEnvelope<LaunchRequest> requestEnvelope)-
-
Method Detail
-
getAlexaRequest
final SpeechletRequestEnvelope<?> getAlexaRequest()
-
getApplicationId
String getApplicationId()
-
exceptionThrown
Unit exceptionThrown(Event event, Throwable throwable)
-
onSessionStarted
Unit onSessionStarted(SpeechletRequestEnvelope<SessionStartedRequest> requestEnvelope)
-
onSessionEnded
Unit onSessionEnded(SpeechletRequestEnvelope<SessionEndedRequest> requestEnvelope)
-
onIntent
SpeechletResponse onIntent(SpeechletRequestEnvelope<IntentRequest> requestEnvelope)
-
onLaunch
SpeechletResponse onLaunch(SpeechletRequestEnvelope<LaunchRequest> requestEnvelope)
-
-
-
-