1
package org.videolan.jvlc;
3
public class Input implements InputIntf {
5
private long libvlcInstance;
10
private native long _getLength();
11
private native float _getPosition();
12
private native long _getTime();
13
private native float _getFPS();
14
private native void _setTime(long value);
15
private native void _setPosition(float value);
16
private native boolean _isPlaying();
17
private native boolean _hasVout();
20
public Input( long instance ) {
21
this.libvlcInstance = instance;
24
public long getLength() throws VLCException {
28
public long getTime() throws VLCException {
32
public float getPosition() throws VLCException {
33
return _getPosition();
37
public void setTime(long time) throws VLCException {
41
public void setPosition(float position) throws VLCException {
42
_setPosition(position);
45
public double getFPS() throws VLCException {
49
public boolean isPlaying() throws VLCException {
53
public boolean hasVout() throws VLCException {
57
public long getInstance() {
58
return libvlcInstance;