STPlayer
-
Get an instance of STPlayer
Throws
Will throw if your plan doesn’t allow you to use this feature. -
Represents the currently playing playlist
-
Represents the currently playing track
-
Represents the content of the currently playing track
-
Represents the audio quality selected for the current track
-
Represents the current time of the playing track
-
Represents the current player state The observation of this property can be done by an object conforming to the
STPlayerObserver
protocol -
Represents the current playback rate.
-
-
Set the configuration for STPlayer
-
Get configuration of the player feature
-
Set the prefered audio quality
-
Start playing a Playlist
-
Stop playing the current track
-
Start playing the next track
-
Start playing the previous track
-
Seek to a given time in the current track
-
Fast forward by 30 seconds the playback position of the current track
-
Rewind by 30 seconds the playback position of the current track
-
Schedule a timer to stop playback
-
Schedule a timer to stop playback at end of current track
-
Remove the currently schedule stop timer
-
Get duration of currently playing track in seconds
-
Get current position of current track in seconds
-
Shortcut that indicates whether audio player is playing
-
Shortcut that indicates whether audio player is paused
-
Shortcut that indicates whether audio player is loading
-
Resume current track
-
-