public class PlaybackFailedRequest extends AudioPlayerRequest
Error that occurred during audio player playback for
AudioPlayer invocation.AudioPlayer| Modifier and Type | Class and Description |
|---|---|
static class |
PlaybackFailedRequest.Builder
Builder used to construct a new
PlaybackFailedRequest. |
SpeechletRequest.SpeechletRequestBuilder<T extends SpeechletRequest.SpeechletRequestBuilder,S extends SpeechletRequest>| Modifier and Type | Method and Description |
|---|---|
static PlaybackFailedRequest.Builder |
builder()
Returns a new builder instance used to construct a new
PlaybackFailedRequest. |
CurrentPlaybackState |
getCurrentPlaybackState()
Returns the playback state for the item currently playing, which may be different than the
item that encountered a failure.
|
Error |
getError()
Returns the error causing the failure
|
String |
getToken()
Returns the token of the stream encountering the failure
|
getLocale, getRequestId, getTimestamppublic static PlaybackFailedRequest.Builder builder()
PlaybackFailedRequest.public CurrentPlaybackState getCurrentPlaybackState()
public Error getError()
public String getToken()
Copyright © 2016. All rights reserved.