A Flutter plugin that interacts with the Spotify Mobile SDK
Connecting/Authenticating
Function |
Description |
Android |
iOS |
init |
Connects to the Spotify AppRemote |
✔️ |
👷 |
terminate |
Disconnects from the Spotify AppRemote |
✔️ |
👷 |
Player Api
Function |
Description |
Android |
iOS |
play |
Plays the given spotifyUri |
✔️ |
👷 |
pause |
Pauses the current track |
✔️ |
👷 |
resume |
Resumes the current track |
✔️ |
👷 |
queue |
Queues given spotifyUri |
✔️ |
👷 |
skipNext |
Skips to next track |
✔️ |
👷 |
skipPrev |
Skips to previous track |
✔️ |
👷 |
seekTo |
Seeks the current track to the given position in milliseconds |
✔️ |
👷 |
seekToRelativePosition |
Adds to the current position of the track the given milliseconds |
✔️ |
👷 |
toggleShuffle |
Cycles through the shuffle modes |
✔️ |
👷 |
toggleRepeat |
Cycles through the repeat modes |
✔️ |
👷 |
Getter |
Description |
Android |
iOS |
crossfadeState |
Gets the current crossfade state |
✔️ |
👷 |
playerState |
Gets the current player state |
✔️ |
👷 |
playerStateEvents |
Returns stream of current player state |
✔️ |
👷 |
playerContextEvents |
Returns stream of current player context |
✔️ |
👷 |
Connect Api
Function |
Description |
Android |
iOS |
switchToLocalDevice |
Switch to play music on this (local) device |
✔️ |
👷 |
Images Api
Function |
Description |
Android |
iOS |
getImage |
Get the image from the given spotifyUri |
✔️ |
👷 |
User Api
Function |
Description |
Android |
iOS |
addToLibrary |
Adds the given spotifyUri to the users library |
👷 |
👷 |
getCapabilities |
Gets the current users capabilities |
👷 |
👷 |
getLibraryState |
Gets the current library state |
👷 |
👷 |
removeFromLibrary |
Removes the given spotifyUri to the users library |
👷 |
👷 |
subscribeToCapabilities |
Subscribes to the current users capabilities |
👷 |
👷 |
subscribeToUserStatus |
Subscrives to the current users status |
👷 |
👷 |
Content Api
Function |
Description |
Android |
iOS |
getChildrenOfItem |
tbd |
👷 |
👷 |
getRecommendedContentItems |
tbd |
👷 |
👷 |
playContentItem |
tbd |
👷 |
👷 |