Class EpisodeSimplified

    • Method Detail

      • getAudioPreviewUrl

        public String getAudioPreviewUrl()
        Get a URL to a 30 second preview (MP3 format) of the episode. null if not available.
        Returns:
        A URL to an audio preview.
      • getDescription

        public String getDescription()
        Get a description of the episode.
        Returns:
        The description of the episode.
      • getDurationMs

        public Integer getDurationMs()
        Get the duration of the episode in milliseconds.
        Returns:
        The length of the episode in milliseconds.
      • getExplicit

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

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

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

        public Boolean getExternallyHosted()
        Check whether the episode is hosted outside of Spotify's CDN.
        Returns:
        True if the episode is hosted outside of Spotify’s CDN.
      • getPlayable

        public Boolean getPlayable()
        Check whether the episode is playable in the given market.
        Returns:
        True if the episode is playable in the given market. Otherwise false.
      • getName

        public String getName()
        Get the name of the episode.
        Returns:
        The name of the episode.
      • getReleaseDate

        public String getReleaseDate()
        Get the date the episode was first released, for example "1981-12-15". Depending on the precision, it might be shown as "1981" or "1981-12".
        Returns:
        The release date of the episode.
      • getResumePoint

        public ResumePoint getResumePoint()
        Get the user’s most recent position in the episode. Set if the supplied access token is a user token and has the scope user-read-playback-position.
        Returns:
        A ResumePoint object.
      • builder

        public EpisodeSimplified.Builder builder()
        Description copied from interface: IModelObject
        Create a builder for building an instance of a model object.
        The type of the builder and its methods depend on its corresponding implementation.
        Specified by:
        builder in interface IModelObject
        Returns:
        A builder object.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object