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.
  • Method Details

    • execute

      public Boolean[] execute() throws IOException, SpotifyWebApiException, org.apache.hc.core5.http.ParseException
      Check whether items are in the current user's library.
      Returns:
      A Boolean array.
      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 - If a parsing error occurs.