| Package | Description |
|---|---|
| com.amazon.speech.json |
Contains classes used for converting requests and responses
to and from JSON.
|
| com.amazon.speech.speechlet |
Contains classes used to represent the key elements used for a speech-enabled
web service.
|
| com.amazon.speech.speechlet.verifier |
Contains classes used for verifying requests sent to your service.
|
| Modifier and Type | Method and Description |
|---|---|
Session |
SpeechletRequestEnvelope.getSession()
Returns the session, if present.
|
| Modifier and Type | Method and Description |
|---|---|
SpeechletRequestEnvelope.Builder<T> |
SpeechletRequestEnvelope.Builder.withSession(Session session) |
| Modifier and Type | Method and Description |
|---|---|
Session |
Session.Builder.build() |
| 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. |
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 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.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
ApplicationIdSpeechletRequestVerifier.verify(SpeechletRequest request,
Session session)
Deprecated.
Returns true if the provided
applicationId is supported by this verifier. |
boolean |
TimestampSpeechletRequestVerifier.verify(SpeechletRequest request,
Session session)
Returns true if the provided date is inclusively within the verifier tolerance, either in the
past or future, of the current system time.
|
boolean |
SpeechletRequestVerifier.verify(SpeechletRequest request,
Session session)
Deprecated.
Verifies a
SpeechletRequest within the context of the Session in which it was
received. |
boolean |
CardSpeechletResponseVerifier.verify(SpeechletResponseEnvelope responseEnvelope,
Session session) |
boolean |
OutputSpeechSpeechletResponseVerifier.verify(SpeechletResponseEnvelope responseEnvelope,
Session session) |
boolean |
ResponseSizeSpeechletResponseVerifier.verify(SpeechletResponseEnvelope responseEnvelope,
Session session) |
boolean |
SpeechletResponseVerifier.verify(SpeechletResponseEnvelope responseEnvelope,
Session session)
Verifies a
SpeechletResponseEnvelope within the context of the Session in
which it was received. |
Copyright © 2016. All rights reserved.