toggle Shuffle Rest Action
fun toggleShuffleRestAction(shuffle: Boolean, deviceId: String? = null): SpotifyRestAction<String>
Content copied to clipboard
Toggle shuffle on or off for user’s playback.
Requires the SpotifyScope.USER_MODIFY_PLAYBACK_STATE scope
Parameters
deviceId
The device to play on
shuffle
Whether to enable shuffling of playback
Sources
common source
Link copied to clipboard