Package | Description |
---|---|
com.amazon.ask.model.interfaces.audioplayer | |
com.amazon.ask.response |
Modifier and Type | Method and Description |
---|---|
static PlayBehavior |
PlayBehavior.fromValue(String text) |
PlayBehavior |
PlayDirective.getPlayBehavior()
Get playBehavior
|
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 |
---|---|
PlayDirective.Builder |
PlayDirective.Builder.withPlayBehavior(PlayBehavior playBehavior) |
Modifier and Type | Method and Description |
---|---|
ResponseBuilder |
ResponseBuilder.addAudioPlayerPlayDirective(PlayBehavior playBehavior,
Long offsetInMilliseconds,
String expectedPreviousToken,
String token,
String url)
Adds an AudioPlayer
PlayDirective to the response. |
ResponseBuilder |
ResponseBuilder.addAudioPlayerPlayDirective(PlayBehavior playBehavior,
Long offsetInMilliseconds,
String expectedPreviousToken,
String token,
String url,
AudioItemMetadata metadata)
Adds an AudioPlayer
PlayDirective to the response. |
Copyright © 2023. All rights reserved.