public class Episode extends AbstractModelObject implements IPlaylistItem
| Modifier and Type | Class and Description |
|---|---|
static class |
Episode.Builder
Builder class for building
Episode instances. |
static class |
Episode.JsonUtil
JsonUtil class for building
Episode instances. |
IModelObject.IJsonUtil<T>| Modifier and Type | Method and Description |
|---|---|
Episode.Builder |
builder()
Create a builder for building an instance of a model object.
|
String |
getAudioPreviewUrl()
Get a URL to a 30 second preview (MP3 format) of the episode.
|
String |
getDescription()
Get a description of the episode.
|
Integer |
getDurationMs()
Get the duration of the episode in milliseconds.
|
Boolean |
getExplicit()
Check whether the episode is explicit or not.
|
Boolean |
getExternallyHosted()
Check whether the episode is hosted outside of Spotify's CDN.
|
ExternalUrl |
getExternalUrls()
Get the external URLs of the episode.
|
String |
getHref()
Get the full Spotify Web API endpoint URL of the episode.
|
String |
getId()
Get the Spotify ID of the episode.
|
Image[] |
getImages()
Get the cover art for the episode in various sizes, widest first.
|
String[] |
getLanguages()
Get a list of the languages used in the episode, identified by their ISO 639 code.
|
String |
getName()
Get the name of the episode.
|
Boolean |
getPlayable()
Check whether the episode is playable in the given market.
|
String |
getReleaseDate()
Get the date the episode was first released, for example "1981-12-15".
|
ReleaseDatePrecision |
getReleaseDatePrecision()
Get the precision with which the release date is known.
|
ResumePoint |
getResumePoint()
Get the user’s most recent position in the episode.
|
ShowSimplified |
getShow()
Get the show on which the episode belongs.
|
ModelObjectType |
getType()
Get the model object type.
|
String |
getUri()
Get the Spotify URI of the episode.
|
public String getAudioPreviewUrl()
null if not available.public String getDescription()
public Integer getDurationMs()
public Boolean getExplicit()
true = yes it does; false = no it does not
OR unknown).public ExternalUrl getExternalUrls()
ExternalUrl object.public String getHref()
public String getId()
public Image[] getImages()
Image objects.public Boolean getExternallyHosted()
public Boolean getPlayable()
public String[] getLanguages()
public String getName()
public String getReleaseDate()
public ReleaseDatePrecision getReleaseDatePrecision()
ReleaseDatePrecision object.public ResumePoint getResumePoint()
user-read-playback-position.ResumePoint object.public ShowSimplified getShow()
Show object on which the episode belongs.public ModelObjectType getType()
getType in interface IPlaylistItemModelObjectType.public String getUri()
public Episode.Builder builder()
IModelObjectbuilder in interface IModelObjectCopyright © 2020. All rights reserved.