Package | Description |
---|---|
com.amazon.ask.model.ui | |
com.amazon.ask.response |
Modifier and Type | Method and Description |
---|---|
static PlayBehavior |
PlayBehavior.fromValue(String text) |
PlayBehavior |
OutputSpeech.getPlayBehavior()
Get playBehavior
For this enum type, if a value unknown to the SDK is returned the UNKNOWN_TO_SDK_VERSION
enumeration value will be returned.
|
static PlayBehavior |
PlayBehavior.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PlayBehavior[] |
PlayBehavior.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
SsmlOutputSpeech.Builder |
SsmlOutputSpeech.Builder.withPlayBehavior(PlayBehavior playBehavior) |
PlainTextOutputSpeech.Builder |
PlainTextOutputSpeech.Builder.withPlayBehavior(PlayBehavior playBehavior) |
Modifier and Type | Method and Description |
---|---|
ResponseBuilder |
ResponseBuilder.withReprompt(String text,
Directive directive,
PlayBehavior playBehavior)
Sets
Reprompt speech on the response. |
ResponseBuilder |
ResponseBuilder.withReprompt(String text,
PlayBehavior playBehavior)
Sets
Reprompt speech on the response. |
ResponseBuilder |
ResponseBuilder.withSpeech(String speechText,
PlayBehavior playBehavior)
Sets
OutputSpeech on the response. |
Copyright © 2023. All rights reserved.