Class CheckCurrentUserFollowsArtistsOrUsersRequest
java.lang.Object
se.michaelthelin.spotify.requests.AbstractRequest<Boolean[]>
se.michaelthelin.spotify.requests.data.AbstractDataRequest<Boolean[]>
se.michaelthelin.spotify.requests.data.follow.CheckCurrentUserFollowsArtistsOrUsersRequest
Check to see if the current user is following one or more artists or other Spotify users.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Builder class for building aCheckCurrentUserFollowsArtistsOrUsersRequest
. -
Method Summary
Methods inherited from class se.michaelthelin.spotify.requests.AbstractRequest
bodyParametersToJson, deleteJson, executeAsync, getBody, getBodyParameters, getContentType, getHeaders, getHttpManager, getJson, getUri, initializeBody, postJson, putJson
-
Method Details
-
execute
public Boolean[] execute() throws IOException, SpotifyWebApiException, org.apache.hc.core5.http.ParseExceptionCheck whether the user is following one or more users or artist or not.- Returns:
- If the user is following more users or artists.
- Throws:
IOException
- In case of networking issues.SpotifyWebApiException
- The Web API returned an error further specified in this exception's root cause.org.apache.hc.core5.http.ParseException
-