flutter_spotify_mobile_sdk

A Flutter plugin that interacts with the Spotify Mobile SDK

Api

Connecting/Authenticating

FunctionDescriptionAndroidiOS
initConnects to the Spotify AppRemote:heavy_check_mark::construction_worker:
terminateDisconnects from the Spotify AppRemote:heavy_check_mark::construction_worker:

Player Api

FunctionDescriptionAndroidiOS
playPlays the given spotifyUri:heavy_check_mark::construction_worker:
pausePauses the current track:heavy_check_mark::construction_worker:
resumeResumes the current track:heavy_check_mark::construction_worker:
queueQueues given spotifyUri:heavy_check_mark::construction_worker:
skipNextSkips to next track:heavy_check_mark::construction_worker:
skipPrevSkips to previous track:heavy_check_mark::construction_worker:
seekToSeeks the current track to the given position in milliseconds:heavy_check_mark::construction_worker:
seekToRelativePositionAdds to the current position of the track the given milliseconds:heavy_check_mark::construction_worker:
toggleShuffleCycles through the shuffle modes:heavy_check_mark::construction_worker:
toggleRepeatCycles through the repeat modes:heavy_check_mark::construction_worker:
GetterDescriptionAndroidiOS
crossfadeStateGets the current crossfade state:heavy_check_mark::construction_worker:
playerStateGets the current player state:heavy_check_mark::construction_worker:
playerStateEventsReturns stream of current player state:heavy_check_mark::construction_worker:
playerContextEventsReturns stream of current player context:heavy_check_mark::construction_worker:

Connect Api

FunctionDescriptionAndroidiOS
switchToLocalDeviceSwitch to play music on this (local) device:heavy_check_mark::construction_worker:

Images Api

FunctionDescriptionAndroidiOS
getImageGet the image from the given spotifyUri:heavy_check_mark::construction_worker:

User Api

FunctionDescriptionAndroidiOS
addToLibraryAdds the given spotifyUri to the users library:construction_worker::construction_worker:
getCapabilitiesGets the current users capabilities:construction_worker::construction_worker:
getLibraryStateGets the current library state:construction_worker::construction_worker:
removeFromLibraryRemoves the given spotifyUri to the users library:construction_worker::construction_worker:
subscribeToCapabilitiesSubscribes to the current users capabilities:construction_worker::construction_worker:
subscribeToUserStatusSubscrives to the current users status:construction_worker::construction_worker:

Content Api

FunctionDescriptionAndroidiOS
getChildrenOfItemtbd:construction_worker::construction_worker:
getRecommendedContentItemstbd:construction_worker::construction_worker:
playContentItemtbd:construction_worker::construction_worker:

Libraries

spotify_mobile_sdk