[−][src]Function aspotify::endpoints::player::pause
pub async fn pause<'_, '_>(
token: &'_ AccessToken,
device_id: Option<&'_ str>
) -> Result<(), EndpointError<PlayerError>>
Pause the current user's playback (Beta).
Requires user-modify-playback-state
. This action completes asynchronously, meaning you will
not know if it succeeded unless you check.