public interface IPlaylistController
Modifier and Type | Method and Description |
---|---|
int |
nextItem(IPlaylist playlist,
int itemIndex)
Get next item to play.
|
int |
previousItem(IPlaylist playlist,
int itemIndex)
Get previous item to play.
|
int nextItem(IPlaylist playlist, int itemIndex)
playlist
- The related play list.itemIndex
- The current item index. -1 indicates to retrieve
the first item for play.int previousItem(IPlaylist playlist, int itemIndex)
playlist
- The related play list.itemIndex
- The current item index. IPlaylist.itemSize
indicated to retrieve the last item for play.Copyright © 2006-2012 The Red5 Project