spotify_mobile_sdk 0.1.0

Flutter Android iOS

A Flutter plugin that interacts with the Spotify Mobile SDK

flutter_spotify_mobile_sdk #

A Flutter plugin that interacts with the Spotify Mobile SDK

Api #

Connecting/Authenticating

FunctionDescriptionAndroidiOS
initConnects to the Spotify AppRemote✔️:construction_worker:
terminateDisconnects from the Spotify AppRemote✔️:construction_worker:

Player Api

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

Connect Api

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

Images Api

FunctionDescriptionAndroidiOS
getImageGet the image from the given spotifyUri✔️: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:
3
likes
70
pub points
35%
popularity

Publisher

emmeryfunch.com

A Flutter plugin that interacts with the Spotify Mobile SDK

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on spotify_mobile_sdk