|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Playlist
A playlist is an ordered list of Tracks.
Method Summary | |
---|---|
void |
changeTrack(TrackChange motion)
Change to a different track (or possibly the same one.) |
Track |
currentTrack()
The current track. |
Track |
peekTrack(TrackChange motion)
The track which would be accessed by the next subsequent changeTrack() with the supplied motion. |
Method Detail |
---|
void changeTrack(TrackChange motion)
motion
- The track to change to. If the motion is NEXT and the
current track is the last one, behaviour is implementation-dependent.
Typically this will either change to the first track (loop around)
or to no track (end of the playlist).Track currentTrack()
changeTrack
call.
Track peekTrack(TrackChange motion)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |