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
All Implemented Interfaces:
IRequest<Boolean[]>

public class CheckCurrentUserFollowsArtistsOrUsersRequest extends AbstractDataRequest<Boolean[]>
Check to see if the current user is following one or more artists or other Spotify users.
  • Method Details

    • execute

      public Boolean[] execute() throws IOException, SpotifyWebApiException, org.apache.hc.core5.http.ParseException
      Check 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