| Package | Description |
|---|---|
| com.amazon.speech.speechlet |
Contains classes used to represent the key elements used for a speech-enabled
web service.
|
| com.amazon.speech.speechlet.interfaces.audioplayer |
Contains classes used by the
AudioPlayer interface. |
| com.amazon.speech.speechlet.interfaces.system |
Contains classes used by the
System interface. |
| Modifier and Type | Class and Description |
|---|---|
class |
State<T extends Interface>
Represents the state associated with a supported interface.
|
| Modifier and Type | Method and Description |
|---|---|
<T extends Interface,S extends State<T>> |
Context.getState(Class<T> interfaceClass,
Class<S> castClass)
Returns
State for interface if it exists, null otherwise. |
<T extends Interface> |
SupportedInterfaces.getSupportedInterface(Class<T> clazz)
Returns
Interface for interface class if it exists, null otherwise. |
<T extends Interface> |
Context.hasState(Class<T> clazz)
Returns true if context has
State for the interface, false otherwise. |
<T extends Interface> |
SupportedInterfaces.isInterfaceSupported(Class<T> clazz)
Returns true if the interface class exists, false otherwise.
|
| Modifier and Type | Method and Description |
|---|---|
SupportedInterfaces.Builder |
SupportedInterfaces.Builder.addSupportedInterface(Interface supportedInterface) |
| Modifier and Type | Method and Description |
|---|---|
Context.Builder |
Context.Builder.addState(State<? extends Interface> state) |
| Modifier and Type | Class and Description |
|---|---|
class |
AudioPlayerInterface
Represents the presence of AudioPlayer capabilities of the Alexa client.
|
| Modifier and Type | Class and Description |
|---|---|
class |
SystemInterface
Represents the presence of System capabilities of the Alexa client.
|
Copyright © 2016. All rights reserved.