Package 

Class LibVLC

  • 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()
      • Methods inherited from class org.videolan.libvlc.VLCObject

        getInstance, getLibVLC, isReleased, release, retain
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LibVLC

        LibVLC(Context context)
        Create a LibVLC
    • Method Detail

      • majorVersion

         static native int majorVersion()

        Get the libVLC major version

      • 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.