class SpotifyAPICalls {

	public boolean playSongFromUri(String uri) {
		if (checkPlayerState()) {
			StartResumeUsersPlaybackRequest startResumeUsersPlaybackRequest = getSpotifyApi().startResumeUsersPlayback()
					.device_id(this.userData.getCurrentDeviceId())
					.uris(new JsonParser().parse("[\"" + uri + "\"]").getAsJsonArray()).build();
			return exceptionHandlingWithBoolean(startResumeUsersPlaybackRequest);
		}
		return false;
	}

}