public class LibVlcFactory extends Object
For example:
LibVlc libvlc = LibVlcFactory.factory().create();Or:
LibVlc libvlc = LibVlcFactory.factory().atLeast("2.0.0").log().create();
Modifier and Type | Method and Description |
---|---|
LibVlcFactory |
atLeast(String version)
Request that the libvlc native library be of at least a particular version.
|
LibVlc |
create()
Create a new libvlc native library instance.
|
LibVlcFactory |
discovery(NativeDiscovery discovery)
Request that automatic discovery of the native libraries be tried.
|
static LibVlcFactory |
factory()
Create a new factory instance
|
LibVlcFactory |
log()
Request that the libvlc native library instance be logged.
|
LibVlcFactory |
synchronise()
Request that the libvlc native library instance be synchronised.
|
public static LibVlcFactory factory()
public LibVlcFactory synchronise()
public LibVlcFactory log()
public LibVlcFactory atLeast(String version)
version
- required versionpublic LibVlcFactory discovery(NativeDiscovery discovery)
discovery
- discoverypublic LibVlc create()
RuntimeException
- if a minimum version check was specified and failedCopyright © 2009–2014 Caprica Software Limited. All rights reserved.