Class CheckUsersSavedTracksRequest
- java.lang.Object
-
- com.wrapper.spotify.requests.AbstractRequest<T>
-
- com.wrapper.spotify.requests.data.AbstractDataRequest<java.lang.Boolean[]>
-
- com.wrapper.spotify.requests.data.library.CheckUsersSavedTracksRequest
-
- All Implemented Interfaces:
IRequest<java.lang.Boolean[]>
public class CheckUsersSavedTracksRequest extends AbstractDataRequest<java.lang.Boolean[]>
Check if one or more tracks is already saved in the current Spotify user’s "Your Music" library.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCheckUsersSavedTracksRequest.BuilderBuilder class for building aCheckUsersSavedTracksRequest.
-
Method Summary
Modifier and Type Method Description java.lang.Boolean[]execute()Check whether an track is present in the current user's "Your Music" library.-
Methods inherited from class com.wrapper.spotify.requests.AbstractRequest
bodyParametersToJson, deleteJson, executeAsync, getBody, getBodyParameters, getContentType, getHeaders, getHttpManager, getJson, getUri, initializeBody, postJson, putJson
-
-
-
-
Method Detail
-
execute
public java.lang.Boolean[] execute() throws java.io.IOException, SpotifyWebApiExceptionCheck whether an track is present in the current user's "Your Music" library.- Returns:
- Whether an track is present in the current user's "Your Music" library.
- Throws:
java.io.IOException- In case of networking issues.SpotifyWebApiException- The Web API returned an error further specified in this exception's root cause.
-
-