namespace SpotifyAPI.Web
{
public class PlayerSeekToRequest : RequestParams
{
///
///
///
///
/// 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.
///
public PlayerSeekToRequest(long positionMs)
{
PositonMs = positionMs;
}
///
/// 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.
///
///
[QueryParam("position_ms")]
public long PositonMs { get; }
///
/// The id of the device this command is targeting. If not supplied, the user’s currently active device is the target.
///
///
[QueryParam("device_id")]
public string? DeviceId { get; set; }
}
}