public class PlaylistItem
extends Object
| Constructor and Description |
|---|
PlaylistItem(String name,
int start,
int length,
int index)
Class constructor - A simple structure to define parameters associated with a playlist item
|
public PlaylistItem(String name,
int start,
int length,
int index)
name - - name of the playlist streamstart - - number of seconds into the track to start from (-2 means live stream)length - - number of seconds of track to playindex - - index in the playlistpublic int getIndex()
public int getLength()
public String getName()
public int getStart()
public void setIndex(int index)
public String toString()
toString in class Object