Spotify control capacitor
In developement
Simple Capacitor plugin to use Spotify iOS SDK
Se debe ignorar que escribo comentarios en ingles y español, mi cerebro no funciona bien :)
npm install simple-spotify-capacitor
npx cap sync
playSong(song: SpotifySong) => Promise<void>
resume() => Promise<void>
skipPrev() => Promise<void>
skipNext() => Promise<void>
getPlayerState() => Promise<SpotifyPlayerStatus>
Returns: Promise<SpotifyPlayerStatus>
authorize(song: SpotifySong) => Promise<void>
setup(options: SpotifyOptions) => Promise<void>
Prop |
Type |
paused |
boolean |
podcast |
boolean |
songId |
string |
songName |
string |
albumName |
string |
artistName |
string |
position |
number |
duration |
number |
title |
string |
coverImageBase64 |
string |
Prop |
Type |
clientId |
string |
redirectUri |
string |