-
- All Implemented Interfaces:
-
org.videolan.libvlc.interfaces.ILibVLC
,org.videolan.libvlc.interfaces.IVLCObject
,org.videolan.libvlc.interfaces.IVLCObject
public class LibVLC extends VLCObject<ILibVLC.Event> implements ILibVLC
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
LibVLC.Event
-
Method Summary
Modifier and Type Method Description static native String
version()
Get the libVLC version static native int
majorVersion()
Get the libVLC major version static native String
compiler()
Get the libVLC compiler static native String
changeset()
Get the libVLC changeset Context
getAppContext()
void
setUserAgent(String name, String http)
Sets the application name. static synchronized void
loadLibraries()
-
-
Method Detail
-
majorVersion
static native int majorVersion()
Get the libVLC major version
-
getAppContext
Context getAppContext()
-
setUserAgent
void setUserAgent(String name, String http)
Sets the application name. LibVLC passes this as the user agent stringwhen a protocol requires it.
- Parameters:
name
- human-readable application name, e.g.http
- HTTP User Agent, e.g.
-
loadLibraries
static synchronized void loadLibraries()
-
-
-
-