| Package | Description |
|---|---|
| com.amazon.speech.speechlet |
Contains classes used to represent the key elements used for a speech-enabled
web service.
|
| Modifier and Type | Method and Description |
|---|---|
SpeechletResponseEnvelope |
SpeechletRequestDispatcher.dispatchSpeechletCall(SpeechletRequestEnvelope<?> requestEnvelope,
Session session)
Processes the provided
SpeechletRequestEnvelope and generates an appropriate response
after dispatching the appropriate method calls on the SpeechletV2 provided at
construction time. |
byte[] |
SpeechletRequestHandler.handleSpeechletCall(Speechlet speechlet,
byte[] serializedSpeechletRequest)
Deprecated.
Please use
handleSpeechletCall(SpeechletV2, byte[]) instead. |
byte[] |
SpeechletRequestHandler.handleSpeechletCall(SpeechletV2 speechlet,
byte[] serializedSpeechletRequest)
Processes the provided bytes as a request from the Alexa service and generates an appropriate
response after dispatching the request to the appropriate method calls on the
SpeechletV2 provided at construction time. |
SpeechletResponse |
Speechlet.onIntent(IntentRequest request,
Session session)
Entry point for handling speech initiated requests.
This is where the bulk of the Speechlet logic lives. |
SpeechletResponse |
Speechlet.onLaunch(LaunchRequest request,
Session session)
Entry point for
Speechlets for handling a speech initiated request to start the skill
without providing an Intent.This method is only invoked when Session.isNew() is true. |
void |
Speechlet.onSessionEnded(SessionEndedRequest request,
Session session)
Callback used to notify that the session ended as a result of the user interacting, or not
interacting with the device.
|
void |
Speechlet.onSessionStarted(SessionStartedRequest request,
Session session)
Used to notify that a new session started as a result of a user interacting with the device.
|
Copyright © 2016. All rights reserved.