Interface | Description |
---|---|
AudioController |
AudioController provides a way to get access to the audio data and implement a custom
audio playback logic.
|
ConnectionStateCallback |
Callback used to deliver information about connection state events.
|
Player |
Any native player that connects to Spotify playback services must implement
this interface.
|
Player.AudioDeliveredCallback |
Interface used to register callback for audio data received
from native player.
|
Player.AudioFlushCallback |
Interface used to register callback for audio flush command
received from native player.
|
Player.NotificationCallback | |
Player.OperationCallback | |
SpotifyPlayer.InitializationObserver |
Observer interface used to know when the player is fully initialized.
|
Class | Description |
---|---|
AudioRingBuffer |
A ring buffer to hold audio data before they can be written to the
audio output.
|
Config |
Class used to pass configuration parameters to the native SDK layer for initialization.
|
Config.DeviceType |
The SDK represents device types as raw integers, but rather than dealing with an
enum an abstract class is used, as we are missing some intermediate values and
require a bit more granularity here than an enum can offer.
|
Connectivity |
Class used for sending connectivity messages to the SDK.
|
Metadata |
Class which holds information about the current player state
|
Metadata.Track | |
PlaybackState | |
Spotify |
The main "entry point" to the Spotify Android SDK.
|
SpotifyPlayer |
Basics
|
SpotifyPlayer.Builder |
Builder that can be used to create a customized instance of the
SpotifyPlayer . |
Enum | Description |
---|---|
Error | |
PlaybackBitrate |
Configure the playback bitrate.
|
PlayerEvent |
Exception | Description |
---|---|
PlayerInitializationException |
Exception that will be thrown by the Player if initialization fails.
|