- build() - Method in class com.amazon.speech.json.SpeechletRequestEnvelope.Builder
-
- build() - Method in class com.amazon.speech.slu.Intent.Builder
-
- build() - Method in class com.amazon.speech.slu.Slot.Builder
-
- build() - Method in class com.amazon.speech.speechlet.Context.Builder
-
- build() - Method in class com.amazon.speech.speechlet.Device.Builder
-
- build() - Method in class com.amazon.speech.speechlet.IntentRequest.Builder
-
- build() - Method in class com.amazon.speech.speechlet.interfaces.audioplayer.AudioPlayerInterface.Builder
-
- build() - Method in class com.amazon.speech.speechlet.interfaces.audioplayer.AudioPlayerState.Builder
-
- build() - Method in class com.amazon.speech.speechlet.interfaces.audioplayer.CurrentPlaybackState.Builder
-
- build() - Method in class com.amazon.speech.speechlet.interfaces.audioplayer.request.PlaybackFailedRequest.Builder
-
- build() - Method in class com.amazon.speech.speechlet.interfaces.audioplayer.request.PlaybackFinishedRequest.Builder
-
- build() - Method in class com.amazon.speech.speechlet.interfaces.audioplayer.request.PlaybackNearlyFinishedRequest.Builder
-
- build() - Method in class com.amazon.speech.speechlet.interfaces.audioplayer.request.PlaybackStartedRequest.Builder
-
- build() - Method in class com.amazon.speech.speechlet.interfaces.audioplayer.request.PlaybackStoppedRequest.Builder
-
- build() - Method in class com.amazon.speech.speechlet.interfaces.playbackcontroller.request.NextCommandIssuedRequest.Builder
-
- build() - Method in class com.amazon.speech.speechlet.interfaces.playbackcontroller.request.PauseCommandIssuedRequest.Builder
-
- build() - Method in class com.amazon.speech.speechlet.interfaces.playbackcontroller.request.PlayCommandIssuedRequest.Builder
-
- build() - Method in class com.amazon.speech.speechlet.interfaces.playbackcontroller.request.PreviousCommandIssuedRequest.Builder
-
- build() - Method in class com.amazon.speech.speechlet.interfaces.system.Error.Builder
-
- build() - Method in class com.amazon.speech.speechlet.interfaces.system.ErrorCause.Builder
-
- build() - Method in class com.amazon.speech.speechlet.interfaces.system.request.ExceptionEncounteredRequest.Builder
-
- build() - Method in class com.amazon.speech.speechlet.interfaces.system.SystemInterface.Builder
-
- build() - Method in class com.amazon.speech.speechlet.interfaces.system.SystemState.Builder
-
- build() - Method in class com.amazon.speech.speechlet.LaunchRequest.Builder
-
- build() - Method in class com.amazon.speech.speechlet.Session.Builder
-
- build() - Method in class com.amazon.speech.speechlet.SessionEndedRequest.Builder
-
- build() - Method in class com.amazon.speech.speechlet.SessionStartedRequest.Builder
-
- build() - Method in class com.amazon.speech.speechlet.SpeechletRequest.SpeechletRequestBuilder
-
- build() - Method in class com.amazon.speech.speechlet.SupportedInterfaces.Builder
-
- build() - Method in class com.amazon.speech.speechlet.User.Builder
-
- builder() - Static method in class com.amazon.speech.json.SpeechletRequestEnvelope
-
Returns a new builder instance used to construct a new SpeechletRequestEnvelope.
- builder() - Static method in class com.amazon.speech.slu.Intent
-
Returns a new builder instance used to construct a new Intent.
- builder() - Static method in class com.amazon.speech.slu.Slot
-
Returns a new builder instance used to construct a new Slot.
- builder() - Static method in class com.amazon.speech.speechlet.Context
-
Returns a new builder instance used to construct a new Context.
- builder() - Static method in class com.amazon.speech.speechlet.Device
-
Returns a new builder instance used to construct a new Device.
- builder() - Static method in class com.amazon.speech.speechlet.IntentRequest
-
Returns a new builder instance used to construct a new IntentRequest.
- builder() - Static method in class com.amazon.speech.speechlet.interfaces.audioplayer.AudioPlayerInterface
-
Returns a new builder instance used to construct a new AudioPlayerInterface.
- builder() - Static method in class com.amazon.speech.speechlet.interfaces.audioplayer.AudioPlayerState
-
Returns a new builder instance used to construct a new PlaybackState.
- builder() - Static method in class com.amazon.speech.speechlet.interfaces.audioplayer.CurrentPlaybackState
-
Returns a new builder instance used to construct a new CurrentPlaybackState.
- builder() - Static method in class com.amazon.speech.speechlet.interfaces.audioplayer.request.PlaybackFailedRequest
-
Returns a new builder instance used to construct a new PlaybackFailedRequest.
- builder() - Static method in class com.amazon.speech.speechlet.interfaces.audioplayer.request.PlaybackFinishedRequest
-
Returns a new builder instance used to construct a new PlaybackFinishedRequest.
- builder() - Static method in class com.amazon.speech.speechlet.interfaces.audioplayer.request.PlaybackNearlyFinishedRequest
-
Returns a new builder instance used to construct a new PlaybackNearlyFinishedRequest.
- builder() - Static method in class com.amazon.speech.speechlet.interfaces.audioplayer.request.PlaybackStartedRequest
-
Returns a new builder instance used to construct a new PlaybackStartedRequest.
- builder() - Static method in class com.amazon.speech.speechlet.interfaces.audioplayer.request.PlaybackStoppedRequest
-
Returns a new builder instance used to construct a new PlaybackStoppedRequest.
- builder() - Static method in class com.amazon.speech.speechlet.interfaces.playbackcontroller.request.NextCommandIssuedRequest
-
Returns a new builder instance used to construct a new NextCommandIssuedRequest.
- builder() - Static method in class com.amazon.speech.speechlet.interfaces.playbackcontroller.request.PauseCommandIssuedRequest
-
Returns a new builder instance used to construct a new PauseCommandIssuedRequest.
- builder() - Static method in class com.amazon.speech.speechlet.interfaces.playbackcontroller.request.PlayCommandIssuedRequest
-
Returns a new builder instance used to construct a new PlayCommandIssuedRequest.
- builder() - Static method in class com.amazon.speech.speechlet.interfaces.playbackcontroller.request.PreviousCommandIssuedRequest
-
Returns a new builder instance used to construct a new PreviousCommandIssuedRequest.
- builder() - Static method in class com.amazon.speech.speechlet.interfaces.system.Error
-
Returns a new builder instance used to construct a new ErrorCause.
- builder() - Static method in class com.amazon.speech.speechlet.interfaces.system.ErrorCause
-
Returns a new builder instance used to construct a new ErrorCause.
- builder() - Static method in class com.amazon.speech.speechlet.interfaces.system.request.ExceptionEncounteredRequest
-
Returns a new builder instance used to construct a new ErrorOccurredRequest.
- builder() - Static method in class com.amazon.speech.speechlet.interfaces.system.SystemInterface
-
Returns a new builder instance used to construct a new SystemInterface.
- builder() - Static method in class com.amazon.speech.speechlet.interfaces.system.SystemState
-
Returns a new builder instance used to construct a new SystemState.
- builder() - Static method in class com.amazon.speech.speechlet.LaunchRequest
-
Returns a new builder instance used to construct a new LaunchRequest.
- builder() - Static method in class com.amazon.speech.speechlet.Session
-
Returns a new builder instance used to construct a new Session.
- builder() - Static method in class com.amazon.speech.speechlet.SessionEndedRequest
-
Returns a new builder instance used to construct a new SessionEndedRequest.
- builder() - Static method in class com.amazon.speech.speechlet.SessionStartedRequest
-
Returns a new builder instance used to construct a new SessionStartedRequest.
- builder() - Static method in class com.amazon.speech.speechlet.SupportedInterfaces
-
Returns a new builder instance used to construct a new SupportedInterfaces.
- builder() - Static method in class com.amazon.speech.speechlet.User
-
Returns a new builder instance used to construct a new IntentRequest.
- Card - Class in com.amazon.speech.ui
-
Base class for cards to display in the companion application.
- Card() - Constructor for class com.amazon.speech.ui.Card
-
- CardSpeechletResponseVerifier - Class in com.amazon.speech.speechlet.verifier
-
- CardSpeechletResponseVerifier() - Constructor for class com.amazon.speech.speechlet.verifier.CardSpeechletResponseVerifier
-
- CHARACTER_ENCODING - Static variable in class com.amazon.speech.Sdk
-
The character encoding used.
- checkRequestSignature(byte[], String, String) - Static method in class com.amazon.speech.speechlet.authentication.SpeechletRequestSignatureVerifier
-
Verifies the certificate authenticity using the configured TrustStore and the signature of
the speechlet request.
- ClearBehavior - Enum in com.amazon.speech.speechlet.interfaces.audioplayer
-
This enum lists behaviors possible when issuing the ClearQueue directive.
- ClearQueueDirective - Class in com.amazon.speech.speechlet.interfaces.audioplayer.directive
-
This class represents the directive sent to clear the playback queue.
- ClearQueueDirective() - Constructor for class com.amazon.speech.speechlet.interfaces.audioplayer.directive.ClearQueueDirective
-
- com.amazon.speech - package com.amazon.speech
-
Contains a utility class for constants used by the Alexa Skills Kit.
- com.amazon.speech.json - package com.amazon.speech.json
-
Contains classes used for converting requests and responses
to and from JSON.
- com.amazon.speech.slu - package com.amazon.speech.slu
-
Contains classes used to represent the user's request, as interpreted by the Alexa service
spoken language understanding processing.
- com.amazon.speech.speechlet - package com.amazon.speech.speechlet
-
Contains classes used to represent the key elements used for a speech-enabled
web service.
- com.amazon.speech.speechlet.authentication - package com.amazon.speech.speechlet.authentication
-
Contains classes used to verify the authenticity of requests.
- com.amazon.speech.speechlet.interfaces.audioplayer - package com.amazon.speech.speechlet.interfaces.audioplayer
-
Contains classes used by the AudioPlayer interface.
- com.amazon.speech.speechlet.interfaces.audioplayer.directive - package com.amazon.speech.speechlet.interfaces.audioplayer.directive
-
Contains classes used to represent the directives returned by your Alexa skill relating to the
AudioPlayer interface.
- com.amazon.speech.speechlet.interfaces.audioplayer.request - package com.amazon.speech.speechlet.interfaces.audioplayer.request
-
Contains classes used to represent the requests sent to your Alexa skill relating to the
AudioPlayer interface.
- com.amazon.speech.speechlet.interfaces.playbackcontroller - package com.amazon.speech.speechlet.interfaces.playbackcontroller
-
Contains classes used by the PlaybackController interface.
- com.amazon.speech.speechlet.interfaces.playbackcontroller.request - package com.amazon.speech.speechlet.interfaces.playbackcontroller.request
-
Contains classes used to represent the requests sent to your Alexa skill relating to the
PlaybackController interface.
- com.amazon.speech.speechlet.interfaces.system - package com.amazon.speech.speechlet.interfaces.system
-
Contains classes used by the System interface.
- com.amazon.speech.speechlet.interfaces.system.request - package com.amazon.speech.speechlet.interfaces.system.request
-
Contains classes used to represent the requests sent to your Alexa skill relating to the
System interface.
- com.amazon.speech.speechlet.lambda - package com.amazon.speech.speechlet.lambda
-
Contains classes used when hosting your service on AWS Lambda.
- com.amazon.speech.speechlet.servlet - package com.amazon.speech.speechlet.servlet
-
Contains classes representing the servlet used to host Speechlets.
- com.amazon.speech.speechlet.verifier - package com.amazon.speech.speechlet.verifier
-
Contains classes used for verifying requests sent to your service.
- com.amazon.speech.ui - package com.amazon.speech.ui
-
Contains classes representing the user interface elements of an Alexa skill.
- Context - Class in com.amazon.speech.speechlet
-
The context for a SpeechletRequest containing the state of the interfaces.
- Context.Builder - Class in com.amazon.speech.speechlet
-
Builder used to construct a new Context.
- CoreSpeechletRequest - Class in com.amazon.speech.speechlet
-
A superclass for core speechlet requests, such as IntentRequest.
- CoreSpeechletRequest(SpeechletRequest.SpeechletRequestBuilder) - Constructor for class com.amazon.speech.speechlet.CoreSpeechletRequest
-
- CoreSpeechletRequest(String, Date, Locale) - Constructor for class com.amazon.speech.speechlet.CoreSpeechletRequest
-
- CurrentPlaybackState - Class in com.amazon.speech.speechlet.interfaces.audioplayer
-
Represents the current playback state of the device in a PlaybackFailedRequest, which may
involve a different AudioItem than the one that generated the failure.
- CurrentPlaybackState.Builder - Class in com.amazon.speech.speechlet.interfaces.audioplayer
-
Builder used to construct a new CurrentPlaybackState.
- getAccessToken() - Method in class com.amazon.speech.speechlet.User
-
Returns the access token.
- getApplication() - Method in class com.amazon.speech.speechlet.interfaces.system.SystemState
-
- getApplication() - Method in class com.amazon.speech.speechlet.Session
-
Returns the application.
- getApplicationId() - Method in class com.amazon.speech.speechlet.Application
-
Returns the application identifier.
- getAttribute(String) - Method in class com.amazon.speech.speechlet.Session
-
Returns the attribute associated with the provided name.
- getAttributes() - Method in class com.amazon.speech.speechlet.Session
-
Returns all the session attributes.
- getAudioItem() - Method in class com.amazon.speech.speechlet.interfaces.audioplayer.directive.PlayDirective
-
Returns the audio item of the directive.
- getCard() - Method in class com.amazon.speech.speechlet.SpeechletResponse
-
Returns the UI card associated with this response.
- getCause() - Method in class com.amazon.speech.speechlet.interfaces.system.request.ExceptionEncounteredRequest
-
- getClearBehavior() - Method in class com.amazon.speech.speechlet.interfaces.audioplayer.directive.ClearQueueDirective
-
Returns how the queue should be cleared.
- getContent() - Method in class com.amazon.speech.ui.SimpleCard
-
Gets the content for the SimpleCard.
- getContext() - Method in class com.amazon.speech.json.SpeechletRequestEnvelope
-
Returns the context.
- getCurrentPlaybackState() - Method in class com.amazon.speech.speechlet.interfaces.audioplayer.request.PlaybackFailedRequest
-
Returns the playback state for the item currently playing, which may be different than the
item that encountered a failure.
- getDevice() - Method in class com.amazon.speech.speechlet.interfaces.system.SystemState
-
- getDirectives() - Method in class com.amazon.speech.speechlet.SpeechletResponse
-
Returns the directives associated with this response.
- getError() - Method in class com.amazon.speech.speechlet.interfaces.audioplayer.request.PlaybackFailedRequest
-
Returns the error causing the failure
- getError() - Method in class com.amazon.speech.speechlet.interfaces.system.request.ExceptionEncounteredRequest
-
- getError() - Method in class com.amazon.speech.speechlet.SessionEndedRequest
-
- getExpectedPreviousToken() - Method in class com.amazon.speech.speechlet.interfaces.audioplayer.Stream
-
Returns the expected previous token, or null if not present.
- getId() - Method in class com.amazon.speech.ui.OutputSpeech
-
Returns the identifier assigned to this speech.
- getImage() - Method in class com.amazon.speech.ui.StandardCard
-
Returns the image of the card.
- getIntent() - Method in class com.amazon.speech.speechlet.IntentRequest
-
Returns the intent associated with this request.
- getInterfaceClass() - Method in class com.amazon.speech.speechlet.interfaces.audioplayer.AudioPlayerState
-
- getInterfaceClass() - Method in class com.amazon.speech.speechlet.interfaces.system.SystemState
-
- getInterfaceClass() - Method in class com.amazon.speech.speechlet.State
-
- getLargeImageUrl() - Method in class com.amazon.speech.ui.Image
-
Returns the URL of the large image.
- getLocale() - Method in class com.amazon.speech.speechlet.SpeechletRequest
-
Returns the request locale.
- getMessage() - Method in class com.amazon.speech.speechlet.interfaces.audioplayer.Error
-
Returns a human-readable description of the error, or null if not present.
- getMessage() - Method in class com.amazon.speech.speechlet.interfaces.system.Error
-
Returns the human-readable message describing the error.
- getName() - Method in class com.amazon.speech.slu.Intent
-
Returns the name of this intent.
- getName() - Method in class com.amazon.speech.slu.Slot
-
Returns the name of this Slot.
- getOffsetInMilliseconds() - Method in class com.amazon.speech.speechlet.interfaces.audioplayer.AudioPlayerState
-
- getOffsetInMilliseconds() - Method in class com.amazon.speech.speechlet.interfaces.audioplayer.CurrentPlaybackState
-
Returns the offset in milliseconds of the AudioItem from the start of its stream, or
null if there is either no item or the item belongs to a different skill.
- getOffsetInMilliseconds() - Method in class com.amazon.speech.speechlet.interfaces.audioplayer.request.PlaybackFinishedRequest
-
Returns the offset in milliseconds from the beginning of the stream.
- getOffsetInMilliseconds() - Method in class com.amazon.speech.speechlet.interfaces.audioplayer.request.PlaybackNearlyFinishedRequest
-
Returns the offset in milliseconds from the beginning of the stream.
- getOffsetInMilliseconds() - Method in class com.amazon.speech.speechlet.interfaces.audioplayer.request.PlaybackStartedRequest
-
Returns the offset in milliseconds from the beginning of the stream.
- getOffsetInMilliseconds() - Method in class com.amazon.speech.speechlet.interfaces.audioplayer.request.PlaybackStoppedRequest
-
Returns the offset in milliseconds from the beginning of the stream.
- getOffsetInMilliseconds() - Method in class com.amazon.speech.speechlet.interfaces.audioplayer.Stream
-
Returns the offset in milliseconds from the start of the stream
- getOutputSpeech() - Method in class com.amazon.speech.speechlet.SpeechletResponse
-
Returns the speech associated with this response.
- getOutputSpeech() - Method in class com.amazon.speech.ui.Reprompt
-
Returns the output speech for the reprompt.
- getPlayBehavior() - Method in class com.amazon.speech.speechlet.interfaces.audioplayer.directive.PlayDirective
-
Returns the play behavior of this directive.
- getPlayerActivity() - Method in class com.amazon.speech.speechlet.interfaces.audioplayer.AudioPlayerState
-
- getPlayerActivity() - Method in class com.amazon.speech.speechlet.interfaces.audioplayer.CurrentPlaybackState
-
Returns the player activity
- getReason() - Method in class com.amazon.speech.speechlet.SessionEndedRequest
-
Returns the reason for the session to have ended.
- getReprompt() - Method in class com.amazon.speech.speechlet.SpeechletResponse
-
Returns the reprompt associated with this response.
- getRequest() - Method in class com.amazon.speech.json.SpeechletRequestEnvelope
-
Returns the request.
- getRequestId() - Method in class com.amazon.speech.speechlet.interfaces.system.ErrorCause
-
Returns the request ID of the cause of the error
- getRequestId() - Method in class com.amazon.speech.speechlet.SpeechletRequest
-
Returns a unique request identifier.
- getRequestId() - Method in class com.amazon.speech.speechlet.SpeechletRequest.SpeechletRequestBuilder
-
- getResponse() - Method in class com.amazon.speech.json.SpeechletResponseEnvelope
-
Returns the SpeechletV2 response.
- getSession() - Method in class com.amazon.speech.json.SpeechletRequestEnvelope
-
Returns the session, if present.
- getSessionAttributes() - Method in class com.amazon.speech.json.SpeechletResponseEnvelope
-
Returns the session attributes to send back to the server.
- getSessionId() - Method in class com.amazon.speech.speechlet.Session
-
Returns the session Id.
- getShouldEndSession() - Method in class com.amazon.speech.speechlet.SpeechletResponse
-
Returns whether or not the session should end with this response.
- getSlot(String) - Method in class com.amazon.speech.slu.Intent
-
Returns the Slot with the provided name.
- getSlots() - Method in class com.amazon.speech.slu.Intent
-
Returns all the Slots.
- getSmallImageUrl() - Method in class com.amazon.speech.ui.Image
-
Returns the URL of the small image.
- getSpeechlet() - Method in class com.amazon.speech.speechlet.servlet.SpeechletServlet
-
Returns the Speechlet object that this servlet uses.
- getSpeechlet() - Method in class com.amazon.speech.speechlet.SpeechletToSpeechletV2Adapter
-
- getSpeechletV2() - Method in class com.amazon.speech.speechlet.servlet.SpeechletServlet
-
Returns the SpeechletV2 object that this servlet uses.
- getSsml() - Method in class com.amazon.speech.ui.SsmlOutputSpeech
-
Returns the SSML to speak.
- getState(Class<T>, Class<S>) - Method in class com.amazon.speech.speechlet.Context
-
Returns State for interface if it exists, null otherwise.
- getStream() - Method in class com.amazon.speech.speechlet.interfaces.audioplayer.AudioItem
-
Returns the stream.
- getSupportedApplicationIds() - Method in class com.amazon.speech.speechlet.verifier.ApplicationIdSpeechletRequestVerifier
-
Deprecated.
- getSupportedInterface(Class<T>) - Method in class com.amazon.speech.speechlet.SupportedInterfaces
-
Returns Interface for interface class if it exists, null otherwise.
- getSupportedInterfaces() - Method in class com.amazon.speech.speechlet.Device
-
Returns an object representing the list of interfaces supported by the device.
- getText() - Method in class com.amazon.speech.ui.PlainTextOutputSpeech
-
Returns the text to speak.
- getText() - Method in class com.amazon.speech.ui.StandardCard
-
Returns the text of the card.
- getTimestamp() - Method in class com.amazon.speech.speechlet.SpeechletRequest
-
Returns the request timestamp.
- getTitle() - Method in class com.amazon.speech.ui.Card
-
Returns the title for the UI card.
- getToken() - Method in class com.amazon.speech.speechlet.interfaces.audioplayer.AudioPlayerState
-
- getToken() - Method in class com.amazon.speech.speechlet.interfaces.audioplayer.CurrentPlaybackState
-
Returns the token that was passed down with the Play directive for the current
AudioItem, or null if there is either no item or if the item belongs to a different
skill.
- getToken() - Method in class com.amazon.speech.speechlet.interfaces.audioplayer.request.PlaybackFailedRequest
-
Returns the token of the stream encountering the failure
- getToken() - Method in class com.amazon.speech.speechlet.interfaces.audioplayer.request.PlaybackFinishedRequest
-
Returns the token of the stream
- getToken() - Method in class com.amazon.speech.speechlet.interfaces.audioplayer.request.PlaybackNearlyFinishedRequest
-
Returns the token of the stream
- getToken() - Method in class com.amazon.speech.speechlet.interfaces.audioplayer.request.PlaybackStartedRequest
-
Returns the token of the stream
- getToken() - Method in class com.amazon.speech.speechlet.interfaces.audioplayer.request.PlaybackStoppedRequest
-
Returns the token of the stream
- getToken() - Method in class com.amazon.speech.speechlet.interfaces.audioplayer.Stream
-
Returns the token associated with the Stream.
- getType() - Method in class com.amazon.speech.speechlet.interfaces.audioplayer.Error
-
Returns the type of the Error
- getType() - Method in class com.amazon.speech.speechlet.interfaces.system.Error
-
Returns the type of the error.
- getUrl() - Method in class com.amazon.speech.speechlet.interfaces.audioplayer.Stream
-
Returns the URL for the stream.
- getUser() - Method in class com.amazon.speech.speechlet.interfaces.system.SystemState
-
- getUser() - Method in class com.amazon.speech.speechlet.Session
-
Returns the user associated with this session.
- getUserId() - Method in class com.amazon.speech.speechlet.User
-
Returns the user identifier.
- getValue() - Method in class com.amazon.speech.slu.Slot
-
Returns the value of this Slot.
- getVersion() - Method in class com.amazon.speech.json.SpeechletRequestEnvelope
-
Returns the envelope version.
- getVersion() - Method in class com.amazon.speech.json.SpeechletResponseEnvelope
-
Returns the envelope version.
- Sdk - Class in com.amazon.speech
-
Constants for the Alexa Skills Kit.
- ServletSpeechletRequestHandler - Class in com.amazon.speech.speechlet.servlet
-
Request handler for servlet-based services
- ServletSpeechletRequestHandler() - Constructor for class com.amazon.speech.speechlet.servlet.ServletSpeechletRequestHandler
-
- Session - Class in com.amazon.speech.speechlet
-
A Session represents a single execution of a SpeechletV2 by a user.
- Session.Builder - Class in com.amazon.speech.speechlet
-
Builder used to construct a new Session.
- SessionEndedRequest - Class in com.amazon.speech.speechlet
-
The request object containing all the parameters passed to notify a SpeechletV2 that a
session ended.
- SessionEndedRequest.Builder - Class in com.amazon.speech.speechlet
-
Builder used to construct a new SessionEndedRequest.
- SessionEndedRequest.Reason - Enum in com.amazon.speech.speechlet
-
This enum lists the reasons why a session ended when not initiated by the SpeechletV2
itself.
- SessionStartedRequest - Class in com.amazon.speech.speechlet
-
The request object used to notify a SpeechletV2 that a new session has launched.
- SessionStartedRequest.Builder - Class in com.amazon.speech.speechlet
-
Builder used to construct a new SessionStartedRequest.
- setAttribute(String, Object) - Method in class com.amazon.speech.speechlet.Session
-
Add or modify the attribute with the provided name.
- setAudioItem(AudioItem) - Method in class com.amazon.speech.speechlet.interfaces.audioplayer.directive.PlayDirective
-
Sets the audio item of the directive.
- setCard(Card) - Method in class com.amazon.speech.speechlet.SpeechletResponse
-
Sets the UI card associated with this response.
- setClearBehavior(ClearBehavior) - Method in class com.amazon.speech.speechlet.interfaces.audioplayer.directive.ClearQueueDirective
-
Sets how the queue should be cleared.
- setContent(String) - Method in class com.amazon.speech.ui.SimpleCard
-
Sets the content for the SimpleCard.
- setDirectives(List<Directive>) - Method in class com.amazon.speech.speechlet.SpeechletResponse
-
Sets the directives for this response.
- setExpectedPreviousToken(String) - Method in class com.amazon.speech.speechlet.interfaces.audioplayer.Stream
-
This property is required to be set and allowed only when the playBehavior is
ENQUEUE.
- setId(String) - Method in class com.amazon.speech.ui.OutputSpeech
-
Sets the identifier assigned to this speech.
- setImage(Image) - Method in class com.amazon.speech.ui.StandardCard
-
Sets the image of the card.
- setLargeImageUrl(String) - Method in class com.amazon.speech.ui.Image
-
Sets the URL of the large image.
- setMessage(String) - Method in class com.amazon.speech.speechlet.interfaces.audioplayer.Error
-
Sets the human-readable description of the error.
- setOffsetInMilliseconds(long) - Method in class com.amazon.speech.speechlet.interfaces.audioplayer.Stream
-
Set the offset in milliseconds from the start of the stream
- setOutputSpeech(OutputSpeech) - Method in class com.amazon.speech.speechlet.SpeechletResponse
-
Sets the speech associated with this response.
- setOutputSpeech(OutputSpeech) - Method in class com.amazon.speech.ui.Reprompt
-
Sets the output speech for the reprompt.
- setPlayBehavior(PlayBehavior) - Method in class com.amazon.speech.speechlet.interfaces.audioplayer.directive.PlayDirective
-
Sets the play behavior of this directive.
- setReprompt(Reprompt) - Method in class com.amazon.speech.speechlet.SpeechletResponse
-
Sets the reprompt associated with this response.
- setResponse(SpeechletResponse) - Method in class com.amazon.speech.json.SpeechletResponseEnvelope
-
Sets the SpeechletV2 response.
- setSessionAttributes(Map<String, Object>) - Method in class com.amazon.speech.json.SpeechletResponseEnvelope
-
Sets the session attributes to send back to the server.
- setShouldEndSession(boolean) - Method in class com.amazon.speech.speechlet.SpeechletResponse
-
Sets whether or not the session should end with this response.
- setSmallImageUrl(String) - Method in class com.amazon.speech.ui.Image
-
Sets the URL of the small image.
- setSpeechlet(Speechlet) - Method in class com.amazon.speech.speechlet.servlet.SpeechletServlet
-
Sets the Speechlet object that this servlet uses.
- setSpeechlet(SpeechletV2) - Method in class com.amazon.speech.speechlet.servlet.SpeechletServlet
-
Sets the SpeechletV2 object that this servlet uses.
- setSsml(String) - Method in class com.amazon.speech.ui.SsmlOutputSpeech
-
Sets the SSML to speak.
- setStream(Stream) - Method in class com.amazon.speech.speechlet.interfaces.audioplayer.AudioItem
-
Sets the stream associated with this AudioItem.
- setText(String) - Method in class com.amazon.speech.ui.PlainTextOutputSpeech
-
Sets the text to speak.
- setText(String) - Method in class com.amazon.speech.ui.StandardCard
-
Sets the text of the card.
- setTitle(String) - Method in class com.amazon.speech.ui.Card
-
Sets the title for the UI card.
- setToken(String) - Method in class com.amazon.speech.speechlet.interfaces.audioplayer.Stream
-
Sets the token associated with the Stream.
- setType(ErrorType) - Method in class com.amazon.speech.speechlet.interfaces.audioplayer.Error
-
Sets the type of the Error.
- setupModule(Module.SetupContext) - Method in class com.amazon.speech.json.SpeechletRequestModule
-
- setUrl(String) - Method in class com.amazon.speech.speechlet.interfaces.audioplayer.Stream
-
Sets the URL of the stream.
- setVersion(String) - Method in class com.amazon.speech.json.SpeechletResponseEnvelope
-
Sets the envelope version.
- SIGNATURE_ALGORITHM - Static variable in class com.amazon.speech.Sdk
-
The algorithm used to generate the signature.
- SIGNATURE_CERTIFICATE_CHAIN_URL_REQUEST_HEADER - Static variable in class com.amazon.speech.Sdk
-
The name of the request header that contains the URL for the certificate chain needed to
verify the request signature.
- SIGNATURE_CERTIFICATE_TYPE - Static variable in class com.amazon.speech.Sdk
-
The format of the certificate needed to verify the request signature.
- SIGNATURE_KEY_TYPE - Static variable in class com.amazon.speech.Sdk
-
The type of encryption key used to generate the signature.
- SIGNATURE_REQUEST_HEADER - Static variable in class com.amazon.speech.Sdk
-
The name of the request header that contains the signature.
- SimpleCard - Class in com.amazon.speech.ui
-
A basic card that includes a title and a simple string as the content.
- SimpleCard() - Constructor for class com.amazon.speech.ui.SimpleCard
-
- Slot - Class in com.amazon.speech.slu
-
A
Slot is part of an
Intent that provides arguments need to process the intent
This is based on a predefined domain definition, or schema.
- Slot.Builder - Class in com.amazon.speech.slu
-
Builder used to construct a new Slot.
- Speechlet - Interface in com.amazon.speech.speechlet
-
A Speechlet is a speech-enabled web service that runs in the cloud.
- SpeechletException - Exception in com.amazon.speech.speechlet
-
Defines a general exception that a Speechlet can throw when encountering difficulty while
processing a request.
- SpeechletException() - Constructor for exception com.amazon.speech.speechlet.SpeechletException
-
Constructs a new exception with null as its detail message.
- SpeechletException(String) - Constructor for exception com.amazon.speech.speechlet.SpeechletException
-
Constructs a new exception with the specified detail message.
- SpeechletException(Throwable) - Constructor for exception com.amazon.speech.speechlet.SpeechletException
-
Constructs a new exception with the specified cause and a detail message of
(cause==null ? null : cause.toString()) (which typically contains the class and
detail message of cause).
- SpeechletException(String, Throwable) - Constructor for exception com.amazon.speech.speechlet.SpeechletException
-
Constructs a new exception with the specified detail message and cause.
- SpeechletRequest - Class in com.amazon.speech.speechlet
-
Base class for requests used for SpeechletV2 invocation.
- SpeechletRequest(SpeechletRequest.SpeechletRequestBuilder) - Constructor for class com.amazon.speech.speechlet.SpeechletRequest
-
Private constructor to return a new SpeechletRequest from a Builder.
- SpeechletRequest(String, Date, Locale) - Constructor for class com.amazon.speech.speechlet.SpeechletRequest
-
Constructs a new SpeechletRequest with a request identifier and timestamp.
- SpeechletRequest.SpeechletRequestBuilder<T extends SpeechletRequest.SpeechletRequestBuilder,S extends SpeechletRequest> - Class in com.amazon.speech.speechlet
-
Builder used to construct a new SpeechletRequest.
- SpeechletRequestBuilder() - Constructor for class com.amazon.speech.speechlet.SpeechletRequest.SpeechletRequestBuilder
-
- SpeechletRequestDispatcher - Class in com.amazon.speech.speechlet
-
This class takes an incoming request from the Alexa service, executes that call on the
SpeechletV2 and returns the resulting response.
- SpeechletRequestDispatcher(SpeechletV2) - Constructor for class com.amazon.speech.speechlet.SpeechletRequestDispatcher
-
- SpeechletRequestDispatcher(Speechlet) - Constructor for class com.amazon.speech.speechlet.SpeechletRequestDispatcher
-
- SpeechletRequestEnvelope<T extends SpeechletRequest> - Class in com.amazon.speech.json
-
Envelope to wrap the various parameters of a SpeechletV2 invocation.
- SpeechletRequestEnvelope.Builder<T extends SpeechletRequest> - Class in com.amazon.speech.json
-
Builder used to construct a new SpeechletRequestEnvelope.
- SpeechletRequestEnvelopeVerifier - Interface in com.amazon.speech.speechlet.verifier
-
- SpeechletRequestHandler - Class in com.amazon.speech.speechlet
-
The SpeechletRequestHandler processes an incoming request from the Alexa service, decides what
action to take on the configured SpeechletV2, executes that call, and returns the resulting
response bytes.
- SpeechletRequestHandler(List<SpeechletRequestVerifier>, List<SpeechletResponseVerifier>) - Constructor for class com.amazon.speech.speechlet.SpeechletRequestHandler
-
Deprecated.
- SpeechletRequestHandler(List<SpeechletRequestEnvelopeVerifier>) - Constructor for class com.amazon.speech.speechlet.SpeechletRequestHandler
-
- SpeechletRequestHandlerException - Exception in com.amazon.speech.speechlet
-
Defines a general exception that the
SpeechletRequestHandler can throw when something
about the request isn't correct.
- SpeechletRequestHandlerException(String) - Constructor for exception com.amazon.speech.speechlet.SpeechletRequestHandlerException
-
Constructs a new exception with the specified detail message.
- SpeechletRequestHandlerException(Throwable) - Constructor for exception com.amazon.speech.speechlet.SpeechletRequestHandlerException
-
Constructs a new exception with the specified cause and a detail message of
(cause==null ? null : cause.toString()) (which typically contains the class and
detail message of cause).
- SpeechletRequestHandlerException(String, Throwable) - Constructor for exception com.amazon.speech.speechlet.SpeechletRequestHandlerException
-
Constructs a new exception with the specified detail message and specified cause.
- SpeechletRequestModule - Class in com.amazon.speech.json
-
- SpeechletRequestModule() - Constructor for class com.amazon.speech.json.SpeechletRequestModule
-
- SpeechletRequestSignatureVerifier - Class in com.amazon.speech.speechlet.authentication
-
Provides a utility method to verify the signature of a speechlet request.
- SpeechletRequestStreamHandler - Class in com.amazon.speech.speechlet.lambda
-
This class provides the handler required when hosting the service as an AWS Lambda function.
- SpeechletRequestStreamHandler(SpeechletV2, Set<String>) - Constructor for class com.amazon.speech.speechlet.lambda.SpeechletRequestStreamHandler
-
When extending this class, use a zero argument constructor and pass the appropriate
SpeechletV2 and Set of supported ApplicationIds to this method.
- SpeechletRequestStreamHandler(Speechlet, Set<String>) - Constructor for class com.amazon.speech.speechlet.lambda.SpeechletRequestStreamHandler
-
- SpeechletRequestVerifier - Interface in com.amazon.speech.speechlet.verifier
-
- SpeechletRequestVerifierWrapper - Class in com.amazon.speech.speechlet.verifier
-
- SpeechletRequestVerifierWrapper(SpeechletRequestVerifier) - Constructor for class com.amazon.speech.speechlet.verifier.SpeechletRequestVerifierWrapper
-
- SpeechletResponse - Class in com.amazon.speech.speechlet
-
The response to a SpeechletV2 invocation.
- SpeechletResponse() - Constructor for class com.amazon.speech.speechlet.SpeechletResponse
-
- SpeechletResponseEnvelope - Class in com.amazon.speech.json
-
Envelope to wrap the response of a SpeechletV2 invocation as well as mutable elements of
the SpeechletV2 invocation parameters.
- SpeechletResponseEnvelope() - Constructor for class com.amazon.speech.json.SpeechletResponseEnvelope
-
- SpeechletResponseVerifier - Interface in com.amazon.speech.speechlet.verifier
-
- SpeechletServlet - Class in com.amazon.speech.speechlet.servlet
-
Simple implementation of a skill in the form of a Java EE servlet.
- SpeechletServlet() - Constructor for class com.amazon.speech.speechlet.servlet.SpeechletServlet
-
- SpeechletToSpeechletV2Adapter - Class in com.amazon.speech.speechlet
-
This class is intended for internal use only.
- SpeechletToSpeechletV2Adapter(Speechlet) - Constructor for class com.amazon.speech.speechlet.SpeechletToSpeechletV2Adapter
-
- SpeechletV2 - Interface in com.amazon.speech.speechlet
-
A SpeechletV2 is a speech-enabled web service that runs in the cloud.
- SsmlOutputSpeech - Class in com.amazon.speech.ui
-
Speech using the SSML (Speech Synthesis Markup Language) representation.
- SsmlOutputSpeech() - Constructor for class com.amazon.speech.ui.SsmlOutputSpeech
-
- StandardCard - Class in com.amazon.speech.ui
-
A standard card that includes a title, a text content and an image.
- StandardCard() - Constructor for class com.amazon.speech.ui.StandardCard
-
- State<T extends Interface> - Class in com.amazon.speech.speechlet
-
Represents the state associated with a supported interface.
- State() - Constructor for class com.amazon.speech.speechlet.State
-
- STATE_TYPE - Static variable in class com.amazon.speech.speechlet.interfaces.audioplayer.AudioPlayerInterface
-
The type of state returned for this interface, to be passed in as the second argument for
Context#getState(Interface, State<Interface>).
- STATE_TYPE - Static variable in class com.amazon.speech.speechlet.interfaces.system.SystemInterface
-
The type of state returned for this interface, to be passed in as the second argument for
Context#getState(Interface, State<Interface>).
- StopDirective - Class in com.amazon.speech.speechlet.interfaces.audioplayer.directive
-
This class represents the directive to stop audio player playback.
- StopDirective() - Constructor for class com.amazon.speech.speechlet.interfaces.audioplayer.directive.StopDirective
-
- Stream - Class in com.amazon.speech.speechlet.interfaces.audioplayer
-
Represents a stream for an AudioItem.
- Stream() - Constructor for class com.amazon.speech.speechlet.interfaces.audioplayer.Stream
-
- SUPPORTED_APPLICATION_IDS_SYSTEM_PROPERTY - Static variable in class com.amazon.speech.Sdk
-
The name of the system property that can be used to provide a comma-delimited list of
application IDs that this web service supports.
- SUPPORTED_CIPHER_SUITES - Static variable in class com.amazon.speech.Sdk
-
Supported cipher suites for connections between the Alexa service and SpeechletServlets.
- SUPPORTED_PROTOCOLS - Static variable in class com.amazon.speech.Sdk
-
Supported protocols for connections between the Alexa service and SpeechletServlets.
- SupportedInterfaces - Class in com.amazon.speech.speechlet
-
Represents a collection of the Interfaces supported by the Alexa client.
- SupportedInterfaces.Builder - Class in com.amazon.speech.speechlet
-
Builder used to construct a new SupportedInterfaces.
- System - Interface in com.amazon.speech.speechlet.interfaces.system
-
The interface for interacting with system events, such as device exceptions.
- SystemInterface - Class in com.amazon.speech.speechlet.interfaces.system
-
Represents the presence of System capabilities of the Alexa client.
- SystemInterface.Builder - Class in com.amazon.speech.speechlet.interfaces.system
-
Builder used to construct a new SystemInterface.
- SystemRequest - Class in com.amazon.speech.speechlet.interfaces.system.request
-
A superclass for System requests.
- SystemRequest(SpeechletRequest.SpeechletRequestBuilder) - Constructor for class com.amazon.speech.speechlet.interfaces.system.request.SystemRequest
-
- SystemRequest(String, Date, Locale) - Constructor for class com.amazon.speech.speechlet.interfaces.system.request.SystemRequest
-
- SystemState - Class in com.amazon.speech.speechlet.interfaces.system
-
- SystemState.Builder - Class in com.amazon.speech.speechlet.interfaces.system
-
Builder used to construct a new SystemState.
- valueOf(String) - Static method in enum com.amazon.speech.speechlet.interfaces.audioplayer.ClearBehavior
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.amazon.speech.speechlet.interfaces.audioplayer.ErrorType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.amazon.speech.speechlet.interfaces.audioplayer.PlayBehavior
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.amazon.speech.speechlet.interfaces.audioplayer.PlayerActivity
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.amazon.speech.speechlet.interfaces.system.ErrorType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.amazon.speech.speechlet.SessionEndedRequest.Reason
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.amazon.speech.speechlet.interfaces.audioplayer.ClearBehavior
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.amazon.speech.speechlet.interfaces.audioplayer.ErrorType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.amazon.speech.speechlet.interfaces.audioplayer.PlayBehavior
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.amazon.speech.speechlet.interfaces.audioplayer.PlayerActivity
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.amazon.speech.speechlet.interfaces.system.ErrorType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.amazon.speech.speechlet.SessionEndedRequest.Reason
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- verify(SpeechletRequestEnvelope<?>) - Method in class com.amazon.speech.speechlet.verifier.ApplicationIdSpeechletRequestEnvelopeVerifier
-
Returns true if the provided applicationId is supported by this verifier.
- verify(SpeechletRequest, Session) - Method in class com.amazon.speech.speechlet.verifier.ApplicationIdSpeechletRequestVerifier
-
Deprecated.
Returns true if the provided applicationId is supported by this verifier.
- verify(SpeechletResponseEnvelope, Session) - Method in class com.amazon.speech.speechlet.verifier.CardSpeechletResponseVerifier
-
- verify(SpeechletResponseEnvelope, Session) - Method in class com.amazon.speech.speechlet.verifier.OutputSpeechSpeechletResponseVerifier
-
- verify(SpeechletResponseEnvelope, Session) - Method in class com.amazon.speech.speechlet.verifier.ResponseSizeSpeechletResponseVerifier
-
- verify(SpeechletRequestEnvelope<?>) - Method in interface com.amazon.speech.speechlet.verifier.SpeechletRequestEnvelopeVerifier
-
- verify(SpeechletRequest, Session) - Method in interface com.amazon.speech.speechlet.verifier.SpeechletRequestVerifier
-
Deprecated.
- verify(SpeechletRequestEnvelope<?>) - Method in class com.amazon.speech.speechlet.verifier.SpeechletRequestVerifierWrapper
-
- verify(SpeechletResponseEnvelope, Session) - Method in interface com.amazon.speech.speechlet.verifier.SpeechletResponseVerifier
-
- verify(SpeechletRequest, Session) - Method in class com.amazon.speech.speechlet.verifier.TimestampSpeechletRequestVerifier
-
Returns true if the provided date is inclusively within the verifier tolerance, either in the
past or future, of the current system time.
- VERSION - Static variable in class com.amazon.speech.Sdk
-
The version number for this library.