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 Summary
Modifier and TypeMethodDescriptionGet all copyright texts of the show.Get a description of the show.Check whether the show is explicit or not.Check whether the show is hosted outside of Spotify's CDN.Get the external URLs of the show.getHref()Get the full Spotify Web API endpoint URL of the show.getId()Get the Spotify ID of the show.Image[]Get the cover art for the show in various sizes, widest first.String[]Get a list of the languages used in the show, identified by their ISO 639 code.Get the media type of the show.getName()Get the name of the show.getType()Get the model object type.getUri()Get the Spotify URI of the show.
-
Method Details
-
getCopyrights
-
getDescription
-
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
ExternalUrlobject.
-
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
-
getImages
-
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
nullin 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
-
getName
-
getType
ModelObjectType getType()Get the model object type. In this case "show".- Returns:
- A
ModelObjectType.
-
getUri
-