-
- 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 classLibVLC.Event
-
Method Summary
Modifier and Type Method Description static native Stringversion()Get the libVLC version static native intmajorVersion()Get the libVLC major version static native Stringcompiler()Get the libVLC compiler static native Stringchangeset()Get the libVLC changeset ContextgetAppContext()voidsetUserAgent(String name, String http)Sets the application name. static synchronized voidloadLibraries()-
-
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()
-
-
-
-