AudioPlayer interface.See: Description
| Interface | Description |
|---|---|
| AudioPlayer |
The interface for interacting with the Audio Player on Alexa-enabled devices.
|
| Class | Description |
|---|---|
| AudioItem |
An
AudioItem represents a single item that can be enqueued on an Alexa client. |
| AudioPlayerInterface |
Represents the presence of AudioPlayer capabilities of the Alexa client.
|
| AudioPlayerInterface.Builder |
Builder used to construct a new
AudioPlayerInterface. |
| AudioPlayerState |
Represents the playback state of the AudioPlayer component on the device.
|
| AudioPlayerState.Builder |
Builder used to construct a new
PlaybackState. |
| CurrentPlaybackState |
Represents the current playback state of the device in a
PlaybackFailedRequest, which may
involve a different AudioItem than the one that generated the failure. |
| CurrentPlaybackState.Builder |
Builder used to construct a new
CurrentPlaybackState. |
| Error |
Represents an error associated with
PlaybackFailedRequest. |
| Stream |
Represents a stream for an
AudioItem. |
| Enum | Description |
|---|---|
| ClearBehavior |
This enum lists behaviors possible when issuing the
ClearQueue directive. |
| ErrorType |
Enum representing the type of the
Error
MEDIA_ERROR_INTERNAL_DEVICE_ERROR
The device accepted the request, but was unable to process the request as expected.
MEDIA_ERROR_INTERNAL_SERVER_ERROR
The server accepted the request, but was unable to process the request as expected.
MEDIA_ERROR_INVALID_REQUEST
The server recognized the request as being malformed. |
| PlayBehavior |
This enum lists behaviors possible for a stream when issuing the
Play directive. |
| PlayerActivity |
Enum representing the audio player state.
|
AudioPlayer interface.Copyright © 2016. All rights reserved.