org.videolan.jvlc
Interface PlaylistIntf

All Known Implementing Classes:
Playlist

public interface PlaylistIntf


Method Summary
 int add(java.lang.String uri, java.lang.String name)
          Add a new item in the playlist
 void addExtended()
          Currently not implemented
 void clear()
          Clear the playlist
 boolean isRunning()
           
 int itemsCount()
           
 void next()
          Move to next item
 void play()
          Plays the current item
 void play(int id, java.lang.String[] options)
           
 void prev()
          Move to previous item
 void stop()
          Stops the playlist.
 void togglePause()
          Toggles pause for the current item.
 

Method Detail

play

void play(int id,
          java.lang.String[] options)
          throws VLCException
Parameters:
id - The ID to play
options - Options to play the item withs
Throws:
VLCException

play

void play()
          throws VLCException
Plays the current item

Throws:
VLCException

togglePause

void togglePause()
                 throws VLCException
Toggles pause for the current item.

Throws:
VLCException

stop

void stop()
          throws VLCException
Stops the playlist.

Throws:
VLCException

isRunning

boolean isRunning()
                  throws VLCException
Returns:
True if playlist is not stopped
Throws:
VLCException

itemsCount

int itemsCount()
               throws VLCException
Returns:
Current number of items in the playlist
Throws:
VLCException

next

void next()
          throws VLCException
Move to next item

Throws:
VLCException

prev

void prev()
          throws VLCException
Move to previous item

Throws:
VLCException

clear

void clear()
           throws VLCException
Clear the playlist

Throws:
VLCException

add

int add(java.lang.String uri,
        java.lang.String name)
        throws VLCException
Add a new item in the playlist

Parameters:
uri - Location of the item
name - Name of the item
Returns:
The item ID
Throws:
VLCException

addExtended

void addExtended()
Currently not implemented