Class SkipUsersPlaybackToNextTrackRequest.Builder
java.lang.Object
se.michaelthelin.spotify.requests.AbstractRequest.Builder<String,SkipUsersPlaybackToNextTrackRequest.Builder>
se.michaelthelin.spotify.requests.data.AbstractDataRequest.Builder<String,SkipUsersPlaybackToNextTrackRequest.Builder>
se.michaelthelin.spotify.requests.data.player.SkipUsersPlaybackToNextTrackRequest.Builder
- All Implemented Interfaces:
IRequest.Builder<String,
SkipUsersPlaybackToNextTrackRequest.Builder>
- Enclosing class:
SkipUsersPlaybackToNextTrackRequest
public static final class SkipUsersPlaybackToNextTrackRequest.Builder
extends AbstractDataRequest.Builder<String,SkipUsersPlaybackToNextTrackRequest.Builder>
Builder class for building a
SkipUsersPlaybackToNextTrackRequest
.-
Constructor Summary
-
Method Summary
Methods inherited from class se.michaelthelin.spotify.requests.AbstractRequest.Builder
setBody, setBodyParameter, setContentType, setDefaults, setHeader, setHost, setHttpManager, setPath, setPathParameter, setPort, setQueryParameter, setScheme
-
Constructor Details
-
Builder
Create a newSkipUsersPlaybackToNextTrackRequest.Builder
.Your access token must have the
user-modify-playback-state
scope authorized in order to control playback.- Parameters:
accessToken
- Required. A valid access token from the Spotify Accounts service.- See Also:
-
-
Method Details
-
device_id
The device ID setter.- Parameters:
device_id
- Optional. The ID of the device this command is targeting. If not supplied, the user's currently active device is the target.- Returns:
- A
SkipUsersPlaybackToNextTrackRequest.Builder
. - See Also:
-
build
The request build method.- Returns:
- A custom
SkipUsersPlaybackToNextTrackRequest
.
-
self
Description copied from class:AbstractRequest.Builder
Return this instance to simulate a self-type.- Specified by:
self
in classAbstractRequest.Builder<String,
SkipUsersPlaybackToNextTrackRequest.Builder> - Returns:
- This instance.
-