|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.videolan.jvlc.Input
public class Input
| Constructor Summary | |
|---|---|
Input(long instance)
|
|
| Method Summary | |
|---|---|
double |
getFPS()
Gets the current playing item frames per second (FPS) value. |
long |
getInstance()
|
long |
getLength()
Gets the length in milliseconds for the currently running input. |
float |
getPosition()
Gets the current position on a scale from 0 to 1 for the currently running input. |
long |
getTime()
Gets the current position in milliseconds for the currently running input. |
boolean |
hasVout()
This method is used to know if the currently playing item has spawned a video output window. |
boolean |
isPlaying()
Gets the status of the current input. |
void |
setPosition(float position)
Moves current input to position specified in a float on a scale from 0 to 1. |
void |
setTime(long time)
Moves current input to the specified time (in milliseconds). |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Input(long instance)
| Method Detail |
|---|
public long getLength()
throws VLCException
InputIntf
getLength in interface InputIntfVLCException
public long getTime()
throws VLCException
InputIntf
getTime in interface InputIntfVLCException
public float getPosition()
throws VLCException
InputIntf
getPosition in interface InputIntfVLCException
public void setTime(long time)
throws VLCException
InputIntf
setTime in interface InputIntftime - The time in milliseconds to move the input to.
VLCException
public void setPosition(float position)
throws VLCException
InputIntf
setPosition in interface InputIntfposition - The position, from 0 to 1, to move the input to.
VLCException
public double getFPS()
throws VLCException
InputIntf
getFPS in interface InputIntfVLCException
public boolean isPlaying()
throws VLCException
InputIntf
isPlaying in interface InputIntfVLCException
public boolean hasVout()
throws VLCException
InputIntf
hasVout in interface InputIntfVLCExceptionpublic long getInstance()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||