Interface IShow

All Known Implementing Classes:
Show, ShowSimplified

public interface IShow
Represents the common properties of Spotify Show objects (full and simplified).

This interface provides a common base for Show and ShowSimplified objects.

  • Method Details

    • getCopyrights

      Copyright[] getCopyrights()
      Get all copyright texts of the show.
      Returns:
      An array of Copyright objects.
    • getDescription

      String getDescription()
      Get a description of the show.
      Returns:
      The description of the show.
    • getExplicit

      Boolean getExplicit()
      Check whether the show is explicit or not.
      Returns:
      Whether or not the show has explicit content (true = yes it does; false = no it does not OR unknown).
    • getExternalUrls

      ExternalUrl getExternalUrls()
      Get the external URLs of the show.
      Example: Spotify-URL
      Returns:
      An ExternalUrl object.
    • getHref

      String getHref()
      Get the full Spotify Web API endpoint URL of the show.
      Returns:
      A link to the Web API endpoint providing full details of the show.
    • getId

      String getId()
      Get the Spotify ID of the show.
      Returns:
      A Spotify show ID.
    • getImages

      Image[] getImages()
      Get the cover art for the show in various sizes, widest first.
      Returns:
      An array of Image objects.
    • getExternallyHosted

      Boolean getExternallyHosted()
      Check whether the show is hosted outside of Spotify's CDN.
      Returns:
      True if the show is hosted outside of Spotify's CDN. Might be null in some cases.
    • getLanguages

      String[] getLanguages()
      Get a list of the languages used in the show, identified by their ISO 639 code.
      Returns:
      An array of ISO 3166-1 alpha-2 country codes.
    • getMediaType

      String getMediaType()
      Get the media type of the show.
      Returns:
      The media type of the show.
    • getName

      String getName()
      Get the name of the show.
      Returns:
      The name of the show.
    • getType

      ModelObjectType getType()
      Get the model object type. In this case "show".
      Returns:
      A ModelObjectType.
    • getUri

      String getUri()
      Get the Spotify URI of the show.
      Returns:
      Spotify show URI.