IModelObjectpublic class PlaylistTrack extends AbstractModelObject
| Modifier and Type | Class | Description |
|---|---|---|
static class |
PlaylistTrack.Builder |
Builder class for building
PlaylistTrack instances. |
static class |
PlaylistTrack.JsonUtil |
JsonUtil class for building
PlaylistTrack instances. |
IModelObject.IJsonUtil<T>| Modifier and Type | Method | Description |
|---|---|---|
PlaylistTrack.Builder |
builder() |
Create a builder for building an instance of a model object.
|
Date |
getAddedAt() |
Get the date, when the track has been added to its playlist.
|
User |
getAddedBy() |
Get the user, who added the track to its playlist.
|
Boolean |
getIsLocal() |
Check whether a playlist track is a local track or not.
Local tracks can only be played on devices, where the track files are present. |
Track |
getTrack() |
Get a full track object from this playlist track object.
|
public Date getAddedAt()
null in this field.public User getAddedBy()
public Boolean getIsLocal()
public Track getTrack()
public PlaylistTrack.Builder builder()
IModelObjectCopyright © 2019. All rights reserved.