Class ToggleShuffleForUsersPlaybackRequest
java.lang.Object
de.sonallux.spotify.api.apis.player.ToggleShuffleForUsersPlaybackRequest
Toggle Playback Shuffle request
Required OAuth scopes
user-modify-playback-state
Response
Command sent
-
Constructor Summary
ConstructorsConstructorDescriptionToggleShuffleForUsersPlaybackRequest(ApiClient apiClient, boolean state) Toggle Playback Shuffle request -
Method Summary
-
Constructor Details
-
ToggleShuffleForUsersPlaybackRequest
Toggle Playback Shuffle request- Parameters:
apiClient-The API client
state-true : Shuffle user's playback.
false : Do not shuffle user's playback.
-
-
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
-