Class SetVolumeForUsersPlaybackRequest
java.lang.Object
de.sonallux.spotify.api.apis.player.SetVolumeForUsersPlaybackRequest
Set Playback Volume request
Required OAuth scopes
user-modify-playback-state
Response
Command sent
-
Constructor Summary
ConstructorsConstructorDescriptionSetVolumeForUsersPlaybackRequest(ApiClient apiClient, int volumePercent) Set Playback Volume request -
Method Summary
-
Constructor Details
-
SetVolumeForUsersPlaybackRequest
Set Playback Volume request- Parameters:
apiClient-The API client
volumePercent-The volume to set. Must be a value from 0 to 100 inclusive.
-
-
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
-