Modifier and Type | Method | Description |
---|---|---|
String |
getAlbum() |
The album of the track.
|
String |
getAlbumArtist() |
That album artist of the track.
|
String |
getArtist() |
The artist of the track.
|
ImageData |
getArtwork() |
The property is deprecated and will never be set.
|
String |
getArtworkUrl() |
The URL of the track%apos;s album cover.
|
int |
getDiscNumber() |
The disc number of the track.
|
int |
getDuration() |
The length of the track in seconds.
|
String |
getId() |
The ID of the item.
|
String |
getName() |
The name of the track.
|
int |
getPlayedCount() |
The number of times this track has been played.
|
int |
getPopularity() |
How popular is this track? 0-100.
|
Map<String,Object> |
getProperties() |
Returns all properties for an instance of this class.
|
String |
getSpotifyUrl() |
The URL of the track.
|
int |
getTrackNumber() |
The index of the track in its album.
|
boolean |
isStarred() |
Is the track starred?
|
void |
setSpotifyUrl(String spotifyUrl) |
The URL of the track.
|
cast, getApplicationReference, getObjectReference, getTypeClass, isInstanceOf
static final TypeClass CLASS
@Code("pArt") @Kind("property") @Name("artist") @Type("text") String getArtist()
@Code("pAlb") @Kind("property") @Name("album") @Type("text") String getAlbum()
@Code("pDsN") @Kind("property") @Name("disc number") @Type("integer") int getDiscNumber()
@Code("pDur") @Kind("property") @Name("duration") @Type("integer") int getDuration()
@Code("pPlC") @Kind("property") @Name("played count") @Type("integer") int getPlayedCount()
@Code("pTrN") @Kind("property") @Name("track number") @Type("integer") int getTrackNumber()
@Code("spSt") @Kind("property") @Name("starred") @Type("boolean") boolean isStarred()
@Code("spPo") @Kind("property") @Name("popularity") @Type("integer") int getPopularity()
@Code("ID ") @Kind("property") @Name("id") @Type("text") String getId()
@Code("pnam") @Kind("property") @Name("name") @Type("text") String getName()
@Code("aUrl") @Kind("property") @Name("artwork url") @Type("text") String getArtworkUrl()
@Code("tAwk") @Kind("property") @Name("artwork") @Type("image data") ImageData getArtwork()
@Code("pAlA") @Kind("property") @Name("album artist") @Type("text") String getAlbumArtist()
@Code("spur") @Kind("property") @Name("spotify url") @Type("text") String getSpotifyUrl()
@Code("spur") @Kind("property") @Name("spotify url") @Type("text") void setSpotifyUrl(String spotifyUrl)
spotifyUrl
- new property value