Class SeekToPositionInCurrentlyPlayingTrackRequest
java.lang.Object
de.sonallux.spotify.api.apis.player.SeekToPositionInCurrentlyPlayingTrackRequest
Seek To Position request
Required OAuth scopes
user-modify-playback-state
Response
Command sent
-
Constructor Summary
ConstructorsConstructorDescriptionSeekToPositionInCurrentlyPlayingTrackRequest(ApiClient apiClient, int positionMs) Seek To Position request -
Method Summary
-
Constructor Details
-
SeekToPositionInCurrentlyPlayingTrackRequest
Seek To Position request- Parameters:
apiClient-The API client
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.
-
-
Method Details
-
deviceId
- Parameters:
deviceId-The id of the device this command is targeting. If not supplied, the user's currently active device is the target.
- Returns:
- this request
-
build
Build the request into an executable api call- Returns:
- an executable api call
-