| Package | Description |
|---|---|
| com.amazon.speech.speechlet |
Contains classes used to represent the key elements used for a speech-enabled
web service.
|
| com.amazon.speech.ui |
Contains classes representing the user interface elements of an Alexa skill.
|
| Modifier and Type | Method and Description |
|---|---|
OutputSpeech |
SpeechletResponse.getOutputSpeech()
Returns the speech associated with this response.
|
| Modifier and Type | Method and Description |
|---|---|
static SpeechletResponse |
SpeechletResponse.newAskResponse(OutputSpeech outputSpeech,
Reprompt reprompt)
Creates and returns a response intended to ask the user a question.
|
static SpeechletResponse |
SpeechletResponse.newAskResponse(OutputSpeech outputSpeech,
Reprompt reprompt,
Card card)
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.
|
static SpeechletResponse |
SpeechletResponse.newTellResponse(OutputSpeech outputSpeech)
Creates and returns a response intended to tell the user something.
|
static SpeechletResponse |
SpeechletResponse.newTellResponse(OutputSpeech outputSpeech,
Card card)
Creates and returns a response intended to tell the user something, both in speech and with a
graphical card in the companion app.
|
void |
SpeechletResponse.setOutputSpeech(OutputSpeech outputSpeech)
Sets the speech associated with this response.
|
| Modifier and Type | Class and Description |
|---|---|
class |
PlainTextOutputSpeech
Speech represented by plain text.
|
class |
SsmlOutputSpeech
Speech using the SSML (Speech Synthesis Markup Language) representation.
|
| Modifier and Type | Method and Description |
|---|---|
OutputSpeech |
Reprompt.getOutputSpeech()
Returns the output speech for the reprompt.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Reprompt.setOutputSpeech(OutputSpeech outputSpeech)
Sets the output speech for the reprompt.
|
Copyright © 2016. All rights reserved.