transfer Playback Rest Action
fun transferPlaybackRestAction(deviceId: String, play: Boolean? = null): SpotifyRestAction<Unit>
Content copied to clipboard
Transfer playback to a new device and determine if it should start playing.
Requires the SpotifyScope.USER_MODIFY_PLAYBACK_STATE scope
Parameters
deviceId
The device to play on
play
Whether to immediately start playback on the transferred device
Sources
(source)
Link copied to clipboard