Package com.wowza.wms.stream.publish
Class PlaylistItem
- Object
-
- com.wowza.wms.stream.publish.PlaylistItem
-
public class PlaylistItem extends Object
-
-
Constructor Summary
Constructors Constructor Description PlaylistItem(String name, int start, int length, int index)
Class constructor - A simple structure to define parameters associated with a playlist item
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getIndex()
int
getLength()
Number of seconds of track to playString
getName()
Name of playlist streamint
getStart()
Number of seconds into track to start fromvoid
setIndex(int index)
String
toString()
-
-
-
Constructor Detail
-
PlaylistItem
public PlaylistItem(String name, int start, int length, int index)
Class constructor - A simple structure to define parameters associated with a playlist item- Parameters:
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 playlist
-
-
Method Detail
-
getName
public String getName()
Name of playlist stream- Returns:
- - name of stream
-
getStart
public int getStart()
Number of seconds into track to start from- Returns:
- - number of seconds
-
getLength
public int getLength()
Number of seconds of track to play- Returns:
- - number of seconds
-
getIndex
public int getIndex()
-
setIndex
public void setIndex(int index)
-
toString
public String toString()
- Overrides:
toString
in classObject
-
-