seek_user_playback: Seek To Position In Currently Playing Track Seeks to the...

Description Usage Arguments References Examples

View source: R/player.R

Description

Seek To Position In Currently Playing Track Seeks to the given position in the user<e2><80><99>s currently playing track.

Usage

1
seek_user_playback(position_ms, device_id = NULL)

Arguments

position_ms

Required. The position in milliseconds to seek to. Must be a positive number. Passing in a position that is greater than the length of the track will cause the player to start playing the next song.

device_id

Optional. The id of the device this command is targeting. If not supplied, the user's currently active device is the target

References

API documentation

Examples

1
2
3
set_tokens()
user_auth()
seek_user_playback(position_ms = 1000)

rweyant/spotifyr documentation built on May 28, 2019, 10:43 a.m.