Skip navigation links
A B C D E F G H I L M N O P R S T U V W 

A

addState(State<? extends Interface>) - Method in class com.amazon.speech.speechlet.Context.Builder
 
addSupportedInterface(Interface) - Method in class com.amazon.speech.speechlet.SupportedInterfaces.Builder
 
Application - Class in com.amazon.speech.speechlet
The Application included as part of the Session encapsulates metadata about the Alexa skill being invoked by a customer.
Application(String) - Constructor for class com.amazon.speech.speechlet.Application
Constructs an application.
ApplicationIdSpeechletRequestEnvelopeVerifier - Class in com.amazon.speech.speechlet.verifier
Verifies whether or not individual application IDs are supported by the service.
ApplicationIdSpeechletRequestEnvelopeVerifier(Set<String>) - Constructor for class com.amazon.speech.speechlet.verifier.ApplicationIdSpeechletRequestEnvelopeVerifier
Constructs a new application ID verifier with the provided set of supported application IDs.
ApplicationIdSpeechletRequestVerifier - Class in com.amazon.speech.speechlet.verifier
Deprecated.
Use ApplicationIdSpeechletRequestEnvelopeVerifier instead. This version does not look in the Context for applicationId.
ApplicationIdSpeechletRequestVerifier(Set<String>) - Constructor for class com.amazon.speech.speechlet.verifier.ApplicationIdSpeechletRequestVerifier
Deprecated.
Constructs a new application ID verifier with the provided set of supported application IDs.
ApplicationIdVerifier - Class in com.amazon.speech.speechlet.authentication
Deprecated.
Use ApplicationIdSpeechletRequestVerifier instead of this class.
ApplicationIdVerifier(Set<String>) - Constructor for class com.amazon.speech.speechlet.authentication.ApplicationIdVerifier
Deprecated.
Constructs a new application ID verifier with the provided set of supported application IDs.
AudioItem - Class in com.amazon.speech.speechlet.interfaces.audioplayer
An AudioItem represents a single item that can be enqueued on an Alexa client.
AudioItem() - Constructor for class com.amazon.speech.speechlet.interfaces.audioplayer.AudioItem
 
AudioPlayer - Interface in com.amazon.speech.speechlet.interfaces.audioplayer
The interface for interacting with the Audio Player on Alexa-enabled devices.
AudioPlayerInterface - Class in com.amazon.speech.speechlet.interfaces.audioplayer
Represents the presence of AudioPlayer capabilities of the Alexa client.
AudioPlayerInterface.Builder - Class in com.amazon.speech.speechlet.interfaces.audioplayer
Builder used to construct a new AudioPlayerInterface.
AudioPlayerRequest - Class in com.amazon.speech.speechlet.interfaces.audioplayer.request
Base class for requests used for AudioPlayer invocation.
AudioPlayerRequest(SpeechletRequest.SpeechletRequestBuilder) - Constructor for class com.amazon.speech.speechlet.interfaces.audioplayer.request.AudioPlayerRequest
 
AudioPlayerRequest(String, Date, Locale) - Constructor for class com.amazon.speech.speechlet.interfaces.audioplayer.request.AudioPlayerRequest
 
AudioPlayerState - Class in com.amazon.speech.speechlet.interfaces.audioplayer
Represents the playback state of the AudioPlayer component on the device.
AudioPlayerState.Builder - Class in com.amazon.speech.speechlet.interfaces.audioplayer
Builder used to construct a new PlaybackState.

B

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.

C

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.

D

Device - Class in com.amazon.speech.speechlet
Represents information about the Alexa-enabled device, such as what interfaces the device supports.
Device.Builder - Class in com.amazon.speech.speechlet
Builder used to construct a new Device.
Directive - Class in com.amazon.speech.speechlet
An instruction returned from a skill in its response to a request, informing the Alexa service to take action on the customer's device.
Directive() - Constructor for class com.amazon.speech.speechlet.Directive
 
DISABLE_REQUEST_SIGNATURE_CHECK_SYSTEM_PROPERTY - Static variable in class com.amazon.speech.Sdk
The SpeechletServlet class enforces request signing to ensure that all requests processed by your web service are legitimate and come from the Alexa service.
dispatchSpeechletCall(SpeechletRequestEnvelope<?>, Session) - Method in class com.amazon.speech.speechlet.SpeechletRequestDispatcher
Processes the provided SpeechletRequestEnvelope and generates an appropriate response after dispatching the appropriate method calls on the SpeechletV2 provided at construction time.
doPost(HttpServletRequest, HttpServletResponse) - Method in class com.amazon.speech.speechlet.servlet.SpeechletServlet
Handles a POST request.

E

ECHO_API_DOMAIN_NAME - Static variable in class com.amazon.speech.Sdk
The domain name used by the Alexa Skills Kit API.
Error - Class in com.amazon.speech.speechlet.interfaces.audioplayer
Represents an error associated with PlaybackFailedRequest.
Error() - Constructor for class com.amazon.speech.speechlet.interfaces.audioplayer.Error
 
Error - Class in com.amazon.speech.speechlet.interfaces.system
Represents information about an error in the System.ErrorOccurredRequest.
Error(Error.Builder) - Constructor for class com.amazon.speech.speechlet.interfaces.system.Error
 
Error.Builder - Class in com.amazon.speech.speechlet.interfaces.system
Builder used to construct a new Error.
ErrorCause - Class in com.amazon.speech.speechlet.interfaces.system
The cause of an error.
ErrorCause(ErrorCause.Builder) - Constructor for class com.amazon.speech.speechlet.interfaces.system.ErrorCause
 
ErrorCause.Builder - Class in com.amazon.speech.speechlet.interfaces.system
Builder used to construct a new SessionStartedRequest.
ErrorType - Enum in com.amazon.speech.speechlet.interfaces.audioplayer
Enum representing the type of the Error MEDIA_ERROR_INTERNAL_DEVICE_ERROR The device accepted the request, but was unable to process the request as expected. MEDIA_ERROR_INTERNAL_SERVER_ERROR The server accepted the request, but was unable to process the request as expected. MEDIA_ERROR_INVALID_REQUEST The server recognized the request as being malformed.
ErrorType - Enum in com.amazon.speech.speechlet.interfaces.system
Represents the types of errors permissible INVALID_RESPONSE The request was invalid.
ExceptionEncounteredRequest - Class in com.amazon.speech.speechlet.interfaces.system.request
The request object containing an Intent for SpeechletV2 invocation.
ExceptionEncounteredRequest(String, Date, Locale, Error, ErrorCause) - Constructor for class com.amazon.speech.speechlet.interfaces.system.request.ExceptionEncounteredRequest
Protected constructor used for JSON serialization and for extending this class.
ExceptionEncounteredRequest.Builder - Class in com.amazon.speech.speechlet.interfaces.system.request
Builder used to construct a new ErrorOccurredRequest.

F

fromJson(InputStream) - Static method in class com.amazon.speech.json.SpeechletRequestEnvelope
Read a SpeechletRequestEnvelope from an InputStream.
fromJson(byte[]) - Static method in class com.amazon.speech.json.SpeechletRequestEnvelope
Read a SpeechletRequestEnvelope from a byte array.
fromJson(String) - Static method in class com.amazon.speech.json.SpeechletRequestEnvelope
Read a SpeechletRequestEnvelope from a String.

G

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.

H

handleRequest(InputStream, OutputStream, Context) - Method in class com.amazon.speech.speechlet.lambda.SpeechletRequestStreamHandler
This method is the primary entry point when executing your Lambda function.
handleSpeechletCall(Speechlet, byte[]) - Method in class com.amazon.speech.speechlet.SpeechletRequestHandler
Deprecated.
Please use handleSpeechletCall(SpeechletV2, byte[]) instead.
handleSpeechletCall(SpeechletV2, byte[]) - Method in class com.amazon.speech.speechlet.SpeechletRequestHandler
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.
hasState(Class<T>) - Method in class com.amazon.speech.speechlet.Context
Returns true if context has State for the interface, false otherwise.

I

Image - Class in com.amazon.speech.ui
Contains information about an image that is going to be displayed on a card.
Image() - Constructor for class com.amazon.speech.ui.Image
 
Intent - Class in com.amazon.speech.slu
An Intent is the output of spoken language understanding (SLU) that represents what the user wants to do based on a predefined schema definition.
Intent.Builder - Class in com.amazon.speech.slu
Builder used to construct a new Intent.
IntentRequest - Class in com.amazon.speech.speechlet
The request object containing an Intent for SpeechletV2 invocation.
IntentRequest(String, Date, Locale, Intent) - Constructor for class com.amazon.speech.speechlet.IntentRequest
Protected constructor used for JSON serialization and for extending this class.
IntentRequest.Builder - Class in com.amazon.speech.speechlet
Builder used to construct a new IntentRequest.
Interface - Class in com.amazon.speech.speechlet
Represents an interface that an Alexa-enabled device may support.
Interface() - Constructor for class com.amazon.speech.speechlet.Interface
 
isInterfaceSupported(Class<T>) - Method in class com.amazon.speech.speechlet.SupportedInterfaces
Returns true if the interface class exists, false otherwise.
isNew() - Method in class com.amazon.speech.speechlet.Session
Return whether this is a new session, meaning the current request is the initial request starting the speechlet.
isSupported(String) - Method in class com.amazon.speech.speechlet.authentication.ApplicationIdVerifier
Deprecated.
Returns true if the provided application ID is supported by this verifier.
isValid(Date) - Method in class com.amazon.speech.speechlet.authentication.TimestampVerifier
Deprecated.
Returns true if the provided date is inclusively within the verifier tolerance, either in the past or future, of the current system time.

L

LambdaSpeechletRequestHandler - Class in com.amazon.speech.speechlet.lambda
Request handler for Lambda services
LambdaSpeechletRequestHandler(Set<String>) - Constructor for class com.amazon.speech.speechlet.lambda.LambdaSpeechletRequestHandler
 
LaunchRequest - Class in com.amazon.speech.speechlet
The request object used to notify a SpeechletV2 that a new session has launched.
LaunchRequest.Builder - Class in com.amazon.speech.speechlet
Builder used to construct a new LaunchRequest.
LinkAccountCard - Class in com.amazon.speech.ui
A card that lets the user link their Alexa account with an account for your service.
LinkAccountCard() - Constructor for class com.amazon.speech.ui.LinkAccountCard
 

M

MAX_URL_LENGTH - Static variable in class com.amazon.speech.speechlet.verifier.CardSpeechletResponseVerifier
 

N

newAskResponse(OutputSpeech, Reprompt) - Static method in class com.amazon.speech.speechlet.SpeechletResponse
Creates and returns a response intended to ask the user a question.
newAskResponse(OutputSpeech, Reprompt, Card) - Static method in class com.amazon.speech.speechlet.SpeechletResponse
Creates and returns a response intended to ask the user a question, both in speech and with a graphical card displayed in the companion app.
newTellResponse(OutputSpeech) - Static method in class com.amazon.speech.speechlet.SpeechletResponse
Creates and returns a response intended to tell the user something.
newTellResponse(OutputSpeech, Card) - Static method in class com.amazon.speech.speechlet.SpeechletResponse
Creates and returns a response intended to tell the user something, both in speech and with a graphical card in the companion app.
NextCommandIssuedRequest - Class in com.amazon.speech.speechlet.interfaces.playbackcontroller.request
The request object indicating that a user wishes to skip to the next media item in their playback queue using an on-client button press or GUI affordance.
NextCommandIssuedRequest.Builder - Class in com.amazon.speech.speechlet.interfaces.playbackcontroller.request
Builder used to construct a new NextCommandIssuedRequest.

O

onExceptionEncountered(SpeechletRequestEnvelope<ExceptionEncounteredRequest>) - Method in interface com.amazon.speech.speechlet.interfaces.system.System
Entry point for a runtime exception occurring on the device.
onIntent(IntentRequest, Session) - Method in interface com.amazon.speech.speechlet.Speechlet
Entry point for handling speech initiated requests.
This is where the bulk of the Speechlet logic lives.
onIntent(SpeechletRequestEnvelope<IntentRequest>) - Method in class com.amazon.speech.speechlet.SpeechletToSpeechletV2Adapter
 
onIntent(SpeechletRequestEnvelope<IntentRequest>) - Method in interface com.amazon.speech.speechlet.SpeechletV2
Entry point for handling speech initiated requests.
This is where the bulk of the SpeechletV2 logic lives.
onLaunch(LaunchRequest, Session) - Method in interface com.amazon.speech.speechlet.Speechlet
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.
onLaunch(SpeechletRequestEnvelope<LaunchRequest>) - Method in class com.amazon.speech.speechlet.SpeechletToSpeechletV2Adapter
 
onLaunch(SpeechletRequestEnvelope<LaunchRequest>) - Method in interface com.amazon.speech.speechlet.SpeechletV2
Entry point for SpeechletV2s for handling a speech initiated request to start the skill without providing an Intent.
This method is only invoked when Session.isNew() is true.
onNextCommandIssued(SpeechletRequestEnvelope<NextCommandIssuedRequest>) - Method in interface com.amazon.speech.speechlet.interfaces.playbackcontroller.PlaybackController
Entry point for a user pressing the next button on a playback controller.
onPauseCommandIssued(SpeechletRequestEnvelope<PauseCommandIssuedRequest>) - Method in interface com.amazon.speech.speechlet.interfaces.playbackcontroller.PlaybackController
Entry point for a user pressing the pause button on a playback controller.
onPlaybackFailed(SpeechletRequestEnvelope<PlaybackFailedRequest>) - Method in interface com.amazon.speech.speechlet.interfaces.audioplayer.AudioPlayer
Entry point for handling an AudioPlayer failure event.
onPlaybackFinished(SpeechletRequestEnvelope<PlaybackFinishedRequest>) - Method in interface com.amazon.speech.speechlet.interfaces.audioplayer.AudioPlayer
Entry point for handling an AudioPlayer playback finished event.
onPlaybackNearlyFinished(SpeechletRequestEnvelope<PlaybackNearlyFinishedRequest>) - Method in interface com.amazon.speech.speechlet.interfaces.audioplayer.AudioPlayer
Entry point for handling an AudioPlayer playback nearly finished event.
onPlaybackStarted(SpeechletRequestEnvelope<PlaybackStartedRequest>) - Method in interface com.amazon.speech.speechlet.interfaces.audioplayer.AudioPlayer
Entry point for handling an AudioPlayer playback started event.
onPlaybackStopped(SpeechletRequestEnvelope<PlaybackStoppedRequest>) - Method in interface com.amazon.speech.speechlet.interfaces.audioplayer.AudioPlayer
Entry point for handling an AudioPlayer playback stopped event.
onPlayCommandIssued(SpeechletRequestEnvelope<PlayCommandIssuedRequest>) - Method in interface com.amazon.speech.speechlet.interfaces.playbackcontroller.PlaybackController
Entry point for a user pressing the play button on a playback controller.
onPreviousCommandIssued(SpeechletRequestEnvelope<PreviousCommandIssuedRequest>) - Method in interface com.amazon.speech.speechlet.interfaces.playbackcontroller.PlaybackController
Entry point for a user pressing the previous button on a playback controller.
onSessionEnded(SessionEndedRequest, Session) - Method in interface com.amazon.speech.speechlet.Speechlet
Callback used to notify that the session ended as a result of the user interacting, or not interacting with the device.
onSessionEnded(SpeechletRequestEnvelope<SessionEndedRequest>) - Method in class com.amazon.speech.speechlet.SpeechletToSpeechletV2Adapter
 
onSessionEnded(SpeechletRequestEnvelope<SessionEndedRequest>) - Method in interface com.amazon.speech.speechlet.SpeechletV2
Callback used to notify that the session ended as a result of the user interacting, or not interacting with the device.
onSessionStarted(SessionStartedRequest, Session) - Method in interface com.amazon.speech.speechlet.Speechlet
Used to notify that a new session started as a result of a user interacting with the device.
onSessionStarted(SpeechletRequestEnvelope<SessionStartedRequest>) - Method in class com.amazon.speech.speechlet.SpeechletToSpeechletV2Adapter
 
onSessionStarted(SpeechletRequestEnvelope<SessionStartedRequest>) - Method in interface com.amazon.speech.speechlet.SpeechletV2
Used to notify that a new session started as a result of a user interacting with the device.
OutputSpeech - Class in com.amazon.speech.ui
Base class for output speech to be rendered to the user.
OutputSpeech() - Constructor for class com.amazon.speech.ui.OutputSpeech
 
OutputSpeechSpeechletResponseVerifier - Class in com.amazon.speech.speechlet.verifier
A SpeechletResponseVerifier to verify the size of the OutputSpeech returned in SpeechletResponseEnvelope.
OutputSpeechSpeechletResponseVerifier() - Constructor for class com.amazon.speech.speechlet.verifier.OutputSpeechSpeechletResponseVerifier
 

P

PauseCommandIssuedRequest - Class in com.amazon.speech.speechlet.interfaces.playbackcontroller.request
The request object indicating that a user wishes to pause the playback of a media item using an on-client button press or GUI affordance.
PauseCommandIssuedRequest.Builder - Class in com.amazon.speech.speechlet.interfaces.playbackcontroller.request
Builder used to construct a new PauseCommandIssuedRequest.
PlainTextOutputSpeech - Class in com.amazon.speech.ui
Speech represented by plain text.
PlainTextOutputSpeech() - Constructor for class com.amazon.speech.ui.PlainTextOutputSpeech
 
PlaybackController - Interface in com.amazon.speech.speechlet.interfaces.playbackcontroller
The interface for interacting with remote controller devices that can control Alexa-enabled devices.
PlaybackControllerRequest - Class in com.amazon.speech.speechlet.interfaces.playbackcontroller.request
A superclass for Playback Controller requests.
PlaybackControllerRequest(SpeechletRequest.SpeechletRequestBuilder) - Constructor for class com.amazon.speech.speechlet.interfaces.playbackcontroller.request.PlaybackControllerRequest
 
PlaybackControllerRequest(String, Date, Locale) - Constructor for class com.amazon.speech.speechlet.interfaces.playbackcontroller.request.PlaybackControllerRequest
 
PlaybackFailedRequest - Class in com.amazon.speech.speechlet.interfaces.audioplayer.request
The request object containing the Error that occurred during audio player playback for AudioPlayer invocation.
PlaybackFailedRequest.Builder - Class in com.amazon.speech.speechlet.interfaces.audioplayer.request
Builder used to construct a new PlaybackFailedRequest.
PlaybackFinishedRequest - Class in com.amazon.speech.speechlet.interfaces.audioplayer.request
The request object indicating the audio player stream has finished playing for AudioPlayer invocation.
PlaybackFinishedRequest.Builder - Class in com.amazon.speech.speechlet.interfaces.audioplayer.request
Builder used to construct a new PlaybackFinishedRequest.
PlaybackNearlyFinishedRequest - Class in com.amazon.speech.speechlet.interfaces.audioplayer.request
The request object indicating the client playing the audio player stream is ready to buffer/download the next stream in playback queue.
PlaybackNearlyFinishedRequest.Builder - Class in com.amazon.speech.speechlet.interfaces.audioplayer.request
Builder used to construct a new PlaybackNearlyFinishedRequest.
PlaybackStartedRequest - Class in com.amazon.speech.speechlet.interfaces.audioplayer.request
The request object indicating the audio player stream has started playing.
PlaybackStartedRequest.Builder - Class in com.amazon.speech.speechlet.interfaces.audioplayer.request
Builder used to construct a new PlaybackStartedRequest.
PlaybackStoppedRequest - Class in com.amazon.speech.speechlet.interfaces.audioplayer.request
The request object indicating the audio player stream has stopped playing.
PlaybackStoppedRequest.Builder - Class in com.amazon.speech.speechlet.interfaces.audioplayer.request
Builder used to construct a new PlaybackStoppedRequest.
PlayBehavior - Enum in com.amazon.speech.speechlet.interfaces.audioplayer
This enum lists behaviors possible for a stream when issuing the Play directive.
PlayCommandIssuedRequest - Class in com.amazon.speech.speechlet.interfaces.playbackcontroller.request
The request object indicating that a user wishes to start/resume playback of a media item using an on-client button press or GUI affordance.
PlayCommandIssuedRequest.Builder - Class in com.amazon.speech.speechlet.interfaces.playbackcontroller.request
Builder used to construct a new PlayCommandIssuedRequest.
PlayDirective - Class in com.amazon.speech.speechlet.interfaces.audioplayer.directive
This class represents the directive sent to play an audio item.
PlayDirective() - Constructor for class com.amazon.speech.speechlet.interfaces.audioplayer.directive.PlayDirective
 
PlayerActivity - Enum in com.amazon.speech.speechlet.interfaces.audioplayer
Enum representing the audio player state.
PreviousCommandIssuedRequest - Class in com.amazon.speech.speechlet.interfaces.playbackcontroller.request
The request object indicating that a user wishes to skip to the previous media item in their playback queue using an on-client button press or GUI affordance.
PreviousCommandIssuedRequest.Builder - Class in com.amazon.speech.speechlet.interfaces.playbackcontroller.request
Builder used to construct a new PreviousCommandIssuedRequest.

R

removeAttribute(String) - Method in class com.amazon.speech.speechlet.Session
Remove the attribute associated with the provided name.
Reprompt - Class in com.amazon.speech.ui
Defines how the skill reprompts when a user does not reply to a request or when a user replies with something that was not understood.
Reprompt() - Constructor for class com.amazon.speech.ui.Reprompt
 
ResponseSizeSpeechletResponseVerifier - Class in com.amazon.speech.speechlet.verifier
A SpeechletResponseVerifier to verify the size of the complete response returned in SpeechletResponseEnvelope.
ResponseSizeSpeechletResponseVerifier() - Constructor for class com.amazon.speech.speechlet.verifier.ResponseSizeSpeechletResponseVerifier
 
retrieveAndVerifyCertificateChain(String) - Static method in class com.amazon.speech.speechlet.authentication.SpeechletRequestSignatureVerifier
Retrieves the certificate from the specified URL and confirms that the certificate is valid.

S

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
Verifier for validating the received SpeechletRequestEnvelopes from the devices.
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
Deprecated.
Please use SpeechletRequestEnvelopeVerifier instead. This version cannot deal with additional fields in the SpeechletRequestEnvelope.
SpeechletRequestVerifierWrapper - Class in com.amazon.speech.speechlet.verifier
A convenience wrapper class to convert a SpeechletRequestVerifier to fit the SpeechletRequestEnvelopeVerifier interface.
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
Verifier for validating the SpeechletResponseEnvelope received from the Speechlets.
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.

T

TIMESTAMP_TOLERANCE_SYSTEM_PROPERTY - Static variable in class com.amazon.speech.Sdk
The name of the system property that can be used to configure the timestamp tolerance (in seconds) of the SpeechletServlet.
TimestampSpeechletRequestVerifier - Class in com.amazon.speech.speechlet.verifier
Verifies whether or not timestamps are valid within a certain tolerance.
TimestampSpeechletRequestVerifier(long, TimeUnit) - Constructor for class com.amazon.speech.speechlet.verifier.TimestampSpeechletRequestVerifier
Constructs a new timestamp verifier with the provided tolerance (in the provided units).
TimestampVerifier - Class in com.amazon.speech.speechlet.authentication
Deprecated.
Use TimestampSpeechletRequestVerifier instead of this class.
TimestampVerifier(long, TimeUnit) - Constructor for class com.amazon.speech.speechlet.authentication.TimestampVerifier
Deprecated.
Constructs a new timestamp verifier with the provided tolerance (in the provided units).
toJson(OutputStream) - Method in class com.amazon.speech.json.SpeechletResponseEnvelope
Write a SpeechletResponseEnvelope to an OutputStream.
toJsonBytes() - Method in class com.amazon.speech.json.SpeechletResponseEnvelope
Write a SpeechletResponseEnvelope as a JSON byte array.
toJsonString() - Method in class com.amazon.speech.json.SpeechletResponseEnvelope
Write a SpeechletResponseEnvelope as a JSON String.

U

User - Class in com.amazon.speech.speechlet
The User tied to a SpeechletV2 Session is the user registered to the device initiating the SpeechletV2 Session and contains a unique identifier.
User(String) - Constructor for class com.amazon.speech.speechlet.User
Deprecated.
use User.builder() to construct new instances of this class
User.Builder - Class in com.amazon.speech.speechlet
Builder used to construct a new User.

V

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
Verifies a SpeechletRequest within the context of the Session in which it was received.
verify(SpeechletRequest, Session) - Method in interface com.amazon.speech.speechlet.verifier.SpeechletRequestVerifier
Deprecated.
Verifies a SpeechletRequest within the context of the Session in which it was received.
verify(SpeechletRequestEnvelope<?>) - Method in class com.amazon.speech.speechlet.verifier.SpeechletRequestVerifierWrapper
 
verify(SpeechletResponseEnvelope, Session) - Method in interface com.amazon.speech.speechlet.verifier.SpeechletResponseVerifier
Verifies a SpeechletResponseEnvelope within the context of the Session in which it was received.
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.

W

withAccessToken(String) - Method in class com.amazon.speech.speechlet.User.Builder
 
withApplication(Application) - Method in class com.amazon.speech.speechlet.interfaces.system.SystemState.Builder
 
withApplication(Application) - Method in class com.amazon.speech.speechlet.Session.Builder
 
withAttributes(Map<String, Object>) - Method in class com.amazon.speech.speechlet.Session.Builder
 
withCause(ErrorCause) - Method in class com.amazon.speech.speechlet.interfaces.system.request.ExceptionEncounteredRequest.Builder
 
withContext(Context) - Method in class com.amazon.speech.json.SpeechletRequestEnvelope.Builder
 
withCurrentPlaybackState(CurrentPlaybackState) - Method in class com.amazon.speech.speechlet.interfaces.audioplayer.request.PlaybackFailedRequest.Builder
 
withDevice(Device) - Method in class com.amazon.speech.speechlet.interfaces.system.SystemState.Builder
 
withError(Error) - Method in class com.amazon.speech.speechlet.interfaces.audioplayer.request.PlaybackFailedRequest.Builder
 
withError(Error) - Method in class com.amazon.speech.speechlet.interfaces.system.request.ExceptionEncounteredRequest.Builder
 
withError(Error) - Method in class com.amazon.speech.speechlet.SessionEndedRequest.Builder
 
withIntent(Intent) - Method in class com.amazon.speech.speechlet.IntentRequest.Builder
 
withIsNew(boolean) - Method in class com.amazon.speech.speechlet.Session.Builder
 
withLocale(Locale) - Method in class com.amazon.speech.speechlet.SpeechletRequest.SpeechletRequestBuilder
 
withMessage(String) - Method in class com.amazon.speech.speechlet.interfaces.system.Error.Builder
 
withName(String) - Method in class com.amazon.speech.slu.Intent.Builder
 
withName(String) - Method in class com.amazon.speech.slu.Slot.Builder
 
withOffsetInMilliseconds(long) - Method in class com.amazon.speech.speechlet.interfaces.audioplayer.AudioPlayerState.Builder
 
withOffsetInMilliseconds(long) - Method in class com.amazon.speech.speechlet.interfaces.audioplayer.CurrentPlaybackState.Builder
 
withOffsetInMilliseconds(long) - Method in class com.amazon.speech.speechlet.interfaces.audioplayer.request.PlaybackFinishedRequest.Builder
 
withOffsetInMilliseconds(long) - Method in class com.amazon.speech.speechlet.interfaces.audioplayer.request.PlaybackNearlyFinishedRequest.Builder
 
withOffsetInMilliseconds(long) - Method in class com.amazon.speech.speechlet.interfaces.audioplayer.request.PlaybackStartedRequest.Builder
 
withOffsetInMilliseconds(long) - Method in class com.amazon.speech.speechlet.interfaces.audioplayer.request.PlaybackStoppedRequest.Builder
 
withPlayerActivity(PlayerActivity) - Method in class com.amazon.speech.speechlet.interfaces.audioplayer.AudioPlayerState.Builder
 
withPlayerActivity(PlayerActivity) - Method in class com.amazon.speech.speechlet.interfaces.audioplayer.CurrentPlaybackState.Builder
 
withReason(SessionEndedRequest.Reason) - Method in class com.amazon.speech.speechlet.SessionEndedRequest.Builder
 
withRequest(T) - Method in class com.amazon.speech.json.SpeechletRequestEnvelope.Builder
 
withRequestId(String) - Method in class com.amazon.speech.speechlet.interfaces.system.ErrorCause.Builder
 
withRequestId(String) - Method in class com.amazon.speech.speechlet.SpeechletRequest.SpeechletRequestBuilder
 
withSession(Session) - Method in class com.amazon.speech.json.SpeechletRequestEnvelope.Builder
 
withSessionId(String) - Method in class com.amazon.speech.speechlet.Session.Builder
 
withSlots(Map<String, Slot>) - Method in class com.amazon.speech.slu.Intent.Builder
 
withSupportedInterfaces(SupportedInterfaces) - Method in class com.amazon.speech.speechlet.Device.Builder
 
withTimestamp(Date) - Method in class com.amazon.speech.speechlet.SpeechletRequest.SpeechletRequestBuilder
 
withToken(String) - Method in class com.amazon.speech.speechlet.interfaces.audioplayer.AudioPlayerState.Builder
 
withToken(String) - Method in class com.amazon.speech.speechlet.interfaces.audioplayer.CurrentPlaybackState.Builder
 
withToken(String) - Method in class com.amazon.speech.speechlet.interfaces.audioplayer.request.PlaybackFailedRequest.Builder
 
withToken(String) - Method in class com.amazon.speech.speechlet.interfaces.audioplayer.request.PlaybackFinishedRequest.Builder
 
withToken(String) - Method in class com.amazon.speech.speechlet.interfaces.audioplayer.request.PlaybackNearlyFinishedRequest.Builder
 
withToken(String) - Method in class com.amazon.speech.speechlet.interfaces.audioplayer.request.PlaybackStartedRequest.Builder
 
withToken(String) - Method in class com.amazon.speech.speechlet.interfaces.audioplayer.request.PlaybackStoppedRequest.Builder
 
withType(ErrorType) - Method in class com.amazon.speech.speechlet.interfaces.system.Error.Builder
 
withUser(User) - Method in class com.amazon.speech.speechlet.interfaces.system.SystemState.Builder
 
withUser(User) - Method in class com.amazon.speech.speechlet.Session.Builder
 
withUserId(String) - Method in class com.amazon.speech.speechlet.User.Builder
 
withValue(String) - Method in class com.amazon.speech.slu.Slot.Builder
 
withVersion(String) - Method in class com.amazon.speech.json.SpeechletRequestEnvelope.Builder
 
A B C D E F G H I L M N O P R S T U V W 
Skip navigation links

Copyright © 2016. All rights reserved.