[−][src]Function aspotify::endpoints::player::transfer
pub async fn transfer<'_, '_>(
token: &'_ AccessToken,
id: &'_ str,
play: bool
) -> Result<(), EndpointError<PlayerError>>
Transfer playback to another device (Beta).
Requires user-modify-playback-state
. When play == true
, playback will happen on the new
device. When play == false
, playback will continue in its current state.