|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PlaylistIntf
| Method Summary | |
|---|---|
int |
add(java.lang.String uri,
java.lang.String name)
TODO: document the kind of items that can be added. |
void |
addExtended()
Currently not implemented |
void |
clear()
Clear the playlist which becomes empty after this call. |
boolean |
isRunning()
This function returns true if the current item has not been stopped. |
int |
itemsCount()
TODO: this should return the number of items added with add, with no respect to videolan internal playlist. |
void |
next()
Move to next item in the playlist and play it. |
void |
play()
Plays the current item in the playlist. |
void |
play(int id,
java.lang.String[] options)
Plays the item specified in id, with options. |
void |
prev()
Move to previous item in the playlist and play it. |
void |
setPause(boolean pause)
Pauses the currently playing item if pause value is true. |
void |
stop()
Stops the currently playing item. |
void |
togglePause()
Toggles pause for the current item. |
| Method Detail |
|---|
void play(int id,
java.lang.String[] options)
throws VLCException
id - The ID to playoptions - Options to play the item with
VLCException
void play()
throws VLCException
VLCException
void togglePause()
throws VLCException
VLCException
void setPause(boolean pause)
throws VLCException
pause -
VLCException
void stop()
throws VLCException
VLCException
boolean isRunning()
throws VLCException
VLCException
int itemsCount()
throws VLCException
VLCException
void next()
throws VLCException
VLCException
void prev()
throws VLCException
VLCException
void clear()
throws VLCException
VLCException
int add(java.lang.String uri,
java.lang.String name)
throws VLCException
uri - Location of the itemname - Name of the item
VLCExceptionvoid addExtended()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||