skipBehind

suspend fun skipBehind(deviceId: String? = null): String

Skips to previous track in the user’s queue.

Note that this will ALWAYS skip to the previous track, regardless of the current track’s progress. Returning to the start of the current track should be performed using seek

Requires the SpotifyScope.USER_MODIFY_PLAYBACK_STATE scope

Api Reference

Parameters

deviceId

The device to play on

Sources

(source)
Link copied to clipboard