|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object sk.baka.ambient.playlist.PlaylistItem
public final class PlaylistItem
Describes a playlist item at particular index. All properties except the
track
are mutable. An instance of playlist item is equal only to
itself.
Field Summary | |
---|---|
(package private) int |
playCount
how many times this track was played. |
(package private) int |
queueOrder
the order in which the track is queued, or 0 if the track
is not queued. |
(package private) TrackMetadataBean |
track
The track meta. |
Constructor Summary | |
---|---|
PlaylistItem(TrackMetadataBean track,
int queueOrder,
int playCount)
Creates new playlist item. |
Method Summary | |
---|---|
int |
getPlayCount()
how many times this track was played. |
int |
getQueueOrder()
the order in which the track is queued, or 0 if the track
is not queued. |
TrackMetadataBean |
getTrack()
The track meta. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
TrackMetadataBean track
int playCount
int queueOrder
0
if the track
is not queued.
Constructor Detail |
---|
PlaylistItem(TrackMetadataBean track, int queueOrder, int playCount)
track
- the track metaqueueOrder
- the order in which the track is queued, or 0
if
the track is not queued.playCount
- how many times this track was played.Method Detail |
---|
public int getPlayCount()
public int getQueueOrder()
0
if the track
is not queued.
public TrackMetadataBean getTrack()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |