org.videolan.jvlc
Interface InputIntf

All Known Subinterfaces:
JLibVLC
All Known Implementing Classes:
Input

public interface InputIntf

Author:
little

Method Summary
 double getFPS()
           
 long getLength()
           
 float getPosition()
           
 long getTime()
           
 boolean hasVout()
           
 boolean isPlaying()
           
 void setPosition(float value)
          Moves current input to position specified in a float [0-1].
 void setTime(long value)
          Moves current input to time specified in value
 

Method Detail

getLength

long getLength()
               throws VLCException
Returns:
The total length of the current file playing in millis.
Throws:
VLCException

getTime

long getTime()
             throws VLCException
Returns:
The current position in millis within the playing item.
Throws:
VLCException

getPosition

float getPosition()
                  throws VLCException
Returns:
The position in %.
Throws:
VLCException

setPosition

void setPosition(float value)
                 throws VLCException
Moves current input to position specified in a float [0-1].

Parameters:
value - The position, from 0 to 1, to move the input to.
Throws:
VLCException

setTime

void setTime(long value)
             throws VLCException
Moves current input to time specified in value

Parameters:
value - The time in milliseconds to move the input to.
Throws:
VLCException

getFPS

double getFPS()
              throws VLCException
Returns:
If the playing item is a video file, returns the FPS, otherwise 0.
Throws:
VLCException

isPlaying

boolean isPlaying()
                  throws VLCException
Returns:
True if the current input is really playing
Throws:
VLCException

hasVout

boolean hasVout()
                throws VLCException
Returns:
True if the current input has spawned a video output window
Throws:
VLCException