Class SkipUsersPlaybackToPreviousTrackRequest.Builder
java.lang.Object
se.michaelthelin.spotify.requests.AbstractRequest.Builder<String,SkipUsersPlaybackToPreviousTrackRequest.Builder>
se.michaelthelin.spotify.requests.data.AbstractDataRequest.Builder<String,SkipUsersPlaybackToPreviousTrackRequest.Builder>
se.michaelthelin.spotify.requests.data.player.SkipUsersPlaybackToPreviousTrackRequest.Builder
- All Implemented Interfaces:
IRequest.Builder<String,
SkipUsersPlaybackToPreviousTrackRequest.Builder>
- Enclosing class:
SkipUsersPlaybackToPreviousTrackRequest
public static final class SkipUsersPlaybackToPreviousTrackRequest.Builder
extends AbstractDataRequest.Builder<String,SkipUsersPlaybackToPreviousTrackRequest.Builder>
Builder class for building a
SkipUsersPlaybackToPreviousTrackRequest
.-
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 newSkipUsersPlaybackToPreviousTrackRequest.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
SkipUsersPlaybackToPreviousTrackRequest.Builder
. - See Also:
-
build
The request build method.- Returns:
- A custom
SkipUsersPlaybackToPreviousTrackRequest
.
-
self
Description copied from class:AbstractRequest.Builder
Return this instance to simulate a self-type.- Specified by:
self
in classAbstractRequest.Builder<String,
SkipUsersPlaybackToPreviousTrackRequest.Builder> - Returns:
- This instance.
-