- cacheAgeLimitInSeconds - Variable in class com.spotify.sdk.android.player.Config
-
The maximum age for any individual file stored in the cache.
- cachePath - Variable in class com.spotify.sdk.android.player.Config
-
The location where cached files will be stored.
- cacheSizeLimitInMegabytes - Variable in class com.spotify.sdk.android.player.Config
-
The maximum size allowed for all files stored in the cache.
- clear() - Method in class com.spotify.sdk.android.player.AudioRingBuffer
-
Removes all items from the buffer.
- clientId - Variable in class com.spotify.sdk.android.player.Config
-
A client ID that the app is using.
- com.spotify.sdk.android.player - package com.spotify.sdk.android.player
-
Contains classes used for playing music.
- COMPUTER - Static variable in class com.spotify.sdk.android.player.Config.DeviceType
-
Laptop or desktop computer
- Config - Class in com.spotify.sdk.android.player
-
Class used to pass configuration parameters to the native SDK layer for initialization.
- Config(Context, String, String) - Constructor for class com.spotify.sdk.android.player.Config
-
Create a new Config object used for initializing the global
SpotifyPlayer
instance.
- Config(Context, String, String, Config.DeviceType) - Constructor for class com.spotify.sdk.android.player.Config
-
Create a new Config object used for initializing the global
SpotifyPlayer
instance.
- Config.DeviceType - Class in com.spotify.sdk.android.player
-
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.
- ConnectionStateCallback - Interface in com.spotify.sdk.android.player
-
Callback used to deliver information about connection state events.
- Connectivity - Class in com.spotify.sdk.android.player
-
Class used for sending connectivity messages to the SDK.
- Connectivity() - Constructor for class com.spotify.sdk.android.player.Connectivity
-
- contextName - Variable in class com.spotify.sdk.android.player.Metadata
-
- contextUri - Variable in class com.spotify.sdk.android.player.Metadata
-
- create(Config) - Static method in class com.spotify.sdk.android.player.SpotifyPlayer
-
Create a new player instance.
- create(Config, SpotifyPlayer.InitializationObserver) - Static method in class com.spotify.sdk.android.player.SpotifyPlayer
-
Create a new player instance with initialization observer.
- CREATOR - Static variable in class com.spotify.sdk.android.player.Metadata
-
- CREATOR - Static variable in class com.spotify.sdk.android.player.Metadata.Track
-
- CREATOR - Static variable in class com.spotify.sdk.android.player.PlaybackState
-
- currentTrack - Variable in class com.spotify.sdk.android.player.Metadata
-
- seekToPosition(Player.OperationCallback, int) - Method in interface com.spotify.sdk.android.player.Player
-
Skips currently playing song to defined position.
- seekToPosition(Player.OperationCallback, int) - Method in class com.spotify.sdk.android.player.SpotifyPlayer
-
Jump to a given position in the current track.
- setAudioController(AudioController) - Method in class com.spotify.sdk.android.player.SpotifyPlayer.Builder
-
- setCallbackHandler(Handler) - Method in class com.spotify.sdk.android.player.SpotifyPlayer.Builder
-
Sets a custom callback handler that will be used to post all callbacks received
by the player.
- setConnectivityStatus(Player.OperationCallback, Connectivity) - Method in interface com.spotify.sdk.android.player.Player
-
Sends the information about current connectivity
to native player.
- setConnectivityStatus(Player.OperationCallback, Connectivity) - Method in class com.spotify.sdk.android.player.SpotifyPlayer
-
The native SDK needs to be told what the current connection state is in order to determine
ideal connection settings to Spotify's servers.
- setPlaybackBitrate(Player.OperationCallback, PlaybackBitrate) - Method in interface com.spotify.sdk.android.player.Player
-
Set the bitrate of the player to specified value.
- setPlaybackBitrate(Player.OperationCallback, PlaybackBitrate) - Method in class com.spotify.sdk.android.player.SpotifyPlayer
-
Set the bitrate of the player to specified value.
- setRepeat(Player.OperationCallback, boolean) - Method in interface com.spotify.sdk.android.player.Player
-
Turns repeating on and off.
- setRepeat(Player.OperationCallback, boolean) - Method in class com.spotify.sdk.android.player.SpotifyPlayer
-
Enable or disable repeat.
- setShuffle(Player.OperationCallback, boolean) - Method in interface com.spotify.sdk.android.player.Player
-
Turns shuffling on and off.
- setShuffle(Player.OperationCallback, boolean) - Method in class com.spotify.sdk.android.player.SpotifyPlayer
-
Enable or disable shuffling.
- shouldUseCache() - Method in class com.spotify.sdk.android.player.Config
-
Check if disk cache is turned on.
- shutdown() - Method in class com.spotify.sdk.android.player.SpotifyPlayer
-
- skipToNext(Player.OperationCallback) - Method in interface com.spotify.sdk.android.player.Player
-
Skips to next track.
- skipToNext(Player.OperationCallback) - Method in class com.spotify.sdk.android.player.SpotifyPlayer
-
Skip to the next track in the play queue.
- skipToPrevious(Player.OperationCallback) - Method in interface com.spotify.sdk.android.player.Player
-
Skips to previous track.
- skipToPrevious(Player.OperationCallback) - Method in class com.spotify.sdk.android.player.SpotifyPlayer
-
Skip to the previous track in the play queue.
- SMARTPHONE - Static variable in class com.spotify.sdk.android.player.Config.DeviceType
-
Smartphone device
- SPEAKER - Static variable in class com.spotify.sdk.android.player.Config.DeviceType
-
Device type for a Spotify Connect enabled speaker
- Spotify - Class in com.spotify.sdk.android.player
-
The main "entry point" to the Spotify Android SDK.
- SpotifyPlayer - Class in com.spotify.sdk.android.player
-
Basics
- SpotifyPlayer.Builder - Class in com.spotify.sdk.android.player
-
Builder that can be used to create a customized instance of the
SpotifyPlayer
.
- SpotifyPlayer.InitializationObserver - Interface in com.spotify.sdk.android.player
-
Observer interface used to know when the player is fully initialized.
- start() - Method in interface com.spotify.sdk.android.player.AudioController
-
- STB - Static variable in class com.spotify.sdk.android.player.Config.DeviceType
-
Device type for a set-top box
- stop() - Method in interface com.spotify.sdk.android.player.AudioController
-