Class CheckUsersSavedTracksRequest

All Implemented Interfaces:
IRequest<Boolean[]>

public class CheckUsersSavedTracksRequest extends AbstractDataRequest<Boolean[]>
Check if one or more tracks is already saved in the current Spotify user’s "Your Music" library.
  • Method Details

    • execute

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