#include <Spotify.h>
|
virtual | ~Spotify () |
|
| Spotify () |
|
| Spotify (Str_8 clientId, Str_8 secret, Str_8 redURI, Array< Str_8 > scopes, bool forceVerify) |
|
bool | Authorize () |
|
UInt_32 | SetVolume (UInt_8 level) |
|
UInt_32 | Play () |
|
UInt_32 | Pause () |
|
UInt_32 | SetRepeat (SpotifyState state) |
|
UInt_32 | SetShuffle (bool state) |
|
UInt_32 | SearchTrack (Vector< Str_8 > &artists, Str_8 &id, Str_8 &name) |
|
UInt_32 | GetPlayingTrack (Vector< Str_8 > &artists, Str_8 &id, Str_8 &name) |
|
UInt_32 | GetQueue (Array< Track > &tracks) |
|
UInt_32 | QueueTrack (const Str_8 &id) |
|
UInt_32 | AddTracks (const Str_8 &playlistId, const Array< Str_8 > &trackIds, const UInt_32 pos=0) |
|
UInt_32 | AddTrack (const Str_8 &playlistId, const Str_8 &trackId, const UInt_32 pos=0) |
|
UInt_32 | Skip () |
|
UInt_32 | Previous () |
|
UInt_32 | Seek (UInt_32 pos) |
|
Str_8 | GetClientId () const |
|
Str_8 | GetSecret () const |
|
Str_8 | GetRedURI () const |
|
bool | IsVerificationForced () const |
|
bool | IsActive () const |
|
◆ ~Spotify()
ehs::Spotify::~Spotify |
( |
| ) |
|
|
virtual |
◆ Spotify() [1/2]
ehs::Spotify::Spotify |
( |
| ) |
|
◆ Spotify() [2/2]
◆ AddTrack()
◆ AddTracks()
◆ Authorize()
bool ehs::Spotify::Authorize |
( |
| ) |
|
◆ GetClientId()
Str_8 ehs::Spotify::GetClientId |
( |
| ) |
const |
◆ GetPlayingTrack()
◆ GetQueue()
◆ GetRedURI()
Str_8 ehs::Spotify::GetRedURI |
( |
| ) |
const |
◆ GetSecret()
Str_8 ehs::Spotify::GetSecret |
( |
| ) |
const |
◆ IsActive()
bool ehs::Spotify::IsActive |
( |
| ) |
const |
◆ IsVerificationForced()
bool ehs::Spotify::IsVerificationForced |
( |
| ) |
const |
◆ Pause()
Pauses playback for a device.
- Returns
- The response code.
◆ Play()
Resume playback for a device.
- Returns
- The response code.
◆ Previous()
Skips to the previous track.
- Returns
- The response code.
◆ QueueTrack()
Adds a track to the queue for a device.
- Parameters
-
[in] | uri | The track id to add. |
- Returns
- The response code.
◆ SearchTrack()
◆ Seek()
Seeks to a position of the currently playing track in milliseconds.
- Parameters
-
[in] | pos | The position in milliseconds to seek to. |
- Returns
- The response code.
◆ SetRepeat()
Repeats playback for a device.
- Parameters
-
[in] | status | The status to set it to. |
- Returns
- The response code.
◆ SetShuffle()
UInt_32 ehs::Spotify::SetShuffle |
( |
bool | state | ) |
|
Shuffles playback for a device.
- Parameters
-
[in] | state | The state to set shuffle to. |
- Returns
- The response code.
◆ SetVolume()
Sets the volume for a device.
- Parameters
-
[in] | level | The percentage to set the volume to. |
- Returns
- The response code.
◆ Skip()
Skips to the next track.
- Returns
- The response code.
◆ trackUriPrefix
const Str_8 ehs::Spotify::trackUriPrefix = "https://open.spotify.com/track/" |
|
static |
The documentation for this class was generated from the following files: