Modifier and Type | Field and Description |
---|---|
Album |
album
The album of this track
|
Artist |
artist
The main artist of this track
|
java.util.List<Artist> |
artists
All artists of this track
|
long |
duration
Duration of the track in milliseconds
|
ImageUri |
imageUri
Image id for this track.
|
boolean |
isEpisode
True if the track is a podcast, video show episode, or any other audio show episode, false
otherwise.
|
boolean |
isPodcast
True if the track is a podcast, false otherwise.
|
java.lang.String |
name
The name (title) of this track
|
java.lang.String |
uri
The Spotify track uri representing this track.
|
Constructor and Description |
---|
Track(Artist artist,
java.util.List<Artist> artists,
Album album,
long duration,
java.lang.String name,
java.lang.String uri,
ImageUri imageUri,
boolean isEpisode,
boolean isPodcast) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
java.lang.String |
toString() |
@SerializedName(value="artist") public final Artist artist
@SerializedName(value="artists") public final java.util.List<Artist> artists
@SerializedName(value="album") public final Album album
@SerializedName(value="duration_ms") public final long duration
@SerializedName(value="name") public final java.lang.String name
@SerializedName(value="uri") public final java.lang.String uri
@SerializedName(value="image_id") public final ImageUri imageUri
ImagesApi
@SerializedName(value="is_episode") public final boolean isEpisode
@SerializedName(value="is_podcast") public final boolean isPodcast