Package com.wowza.wms.stream.publish
Class PlaylistItem
- Object
- 
- com.wowza.wms.stream.publish.PlaylistItem
 
- 
 public class PlaylistItem extends Object
- 
- 
Constructor SummaryConstructors 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 SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetIndex()intgetLength()Number of seconds of track to playStringgetName()Name of playlist streamintgetStart()Number of seconds into track to start fromvoidsetIndex(int index)StringtoString()
 
- 
- 
- 
Constructor Detail- 
PlaylistItempublic 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 stream
- start- - number of seconds into the track to start from (-2 means live stream)
- length- - number of seconds of track to play
- index- - index in the playlist
 
 
- 
 - 
Method Detail- 
getNamepublic String getName() Name of playlist stream- Returns:
- - name of stream
 
 - 
getStartpublic int getStart() Number of seconds into track to start from- Returns:
- - number of seconds
 
 - 
getLengthpublic int getLength() Number of seconds of track to play- Returns:
- - number of seconds
 
 - 
getIndexpublic int getIndex() 
 - 
setIndexpublic void setIndex(int index) 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- Object
 
 
- 
 
-