Class CheckUsersSavedItemsRequest

All Implemented Interfaces:
IRequest<Boolean[]>

public class CheckUsersSavedItemsRequest extends AbstractDataRequest<Boolean[]>
Check if one or more items are already saved in the current user's library. Accepts Spotify URIs for tracks, albums, episodes, shows, audiobooks, artists, users, and playlists.
See Also:
  • Method Details

    • execute

      public Boolean[] execute() throws IOException, SpotifyWebApiException, org.apache.hc.core5.http.ParseException
      Send the request.
      Returns:
      Array of booleans
      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 - The response could not be parsed.