class SpotifyAPICalls {

	public boolean setVolume(int volume) {
		if (checkPlayerState()) {
			SetVolumeForUsersPlaybackRequest setVolumeForUsersPlaybackRequest = getSpotifyApi()
					.setVolumeForUsersPlayback(volume).device_id(this.userData.getCurrentDeviceId()).build();
			return exceptionHandlingWithBoolean(setVolumeForUsersPlaybackRequest);
		}
		return false;
	}

}