Episode

constructor(audioPreviewUrl: String? = null, description: String? = null, durationMs: Int, explicit: Boolean, externalUrlsString: Map<String, String>, href: String, id: String, images: List<SpotifyImage>? = null, isExternallyHosted: Boolean, isPlayable: Boolean, language: String? = null, showLanguagesPrivate: List<String>, name: String, releaseDateString: String? = null, releaseDatePrecisionString: String? = null, resumePoint: ResumePoint? = null, show: SimpleShow, type: String, uri: EpisodeUri)(source)

Parameters

audioPreviewUrl

A URL to a 30 second preview (MP3 format) of the episode. null if not available.

description

A description of the episode.

durationMs

The episode length in milliseconds.

explicit

Whether or not the episode has explicit content (true = yes it does; false = no it does not OR unknown).

images

The cover art for the episode in various sizes, widest first.

isExternallyHosted

True if the episode is hosted outside of Spotify’s CDN.

isPlayable

True if the episode is playable in the given market. Otherwise false.

name

The name of the episode.

releaseDatePrecisionString

The precision with which release_date value is known: "year", "month", or "day".

resumePoint

The user’s most recent position in the episode. Set if the supplied access token is a user token and has the scope SpotifyScope.UserReadPlaybackPosition.

type

The object type: "episode".

show

The show on which the episode belongs.