|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.videolan.jvlc.Playlist
public class Playlist
| Constructor Summary | |
|---|---|
Playlist(long _libvlcInstance)
|
|
| Method Summary | |
|---|---|
int |
add(java.lang.String uri,
java.lang.String name)
TODO: document the kind of items that can be added. |
int |
add(java.lang.String uri,
java.lang.String name,
java.lang.String[] options)
|
void |
addExtended()
Currently not implemented |
void |
clear()
Clear the playlist which becomes empty after this call. |
void |
deleteItem(int itemID)
|
long |
getInstance()
|
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. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Playlist(long _libvlcInstance)
| Method Detail |
|---|
public void play(int id,
java.lang.String[] options)
throws VLCException
PlaylistIntf
play in interface PlaylistIntfid - The ID to playoptions - Options to play the item with
VLCException
public void play()
throws VLCException
PlaylistIntf
play in interface PlaylistIntfVLCException
public void togglePause()
throws VLCException
PlaylistIntf
togglePause in interface PlaylistIntfVLCException
public void stop()
throws VLCException
PlaylistIntf
stop in interface PlaylistIntfVLCException
public boolean isRunning()
throws VLCException
PlaylistIntf
isRunning in interface PlaylistIntfVLCException
public int itemsCount()
throws VLCException
PlaylistIntf
itemsCount in interface PlaylistIntfVLCException
public void next()
throws VLCException
PlaylistIntf
next in interface PlaylistIntfVLCException
public void prev()
throws VLCException
PlaylistIntf
prev in interface PlaylistIntfVLCException
public void clear()
throws VLCException
PlaylistIntf
clear in interface PlaylistIntfVLCException
public int add(java.lang.String uri,
java.lang.String name,
java.lang.String[] options)
throws VLCException
VLCException
public int add(java.lang.String uri,
java.lang.String name)
throws VLCException
PlaylistIntf
add in interface PlaylistIntfuri - Location of the itemname - Name of the item
VLCExceptionpublic void addExtended()
PlaylistIntf
addExtended in interface PlaylistIntf
public void deleteItem(int itemID)
throws VLCException
VLCException
public long getInstance()
throws VLCException
VLCException
public void setPause(boolean pause)
throws VLCException
PlaylistIntf
setPause in interface PlaylistIntfVLCException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||