VLCKit
|
#import <VLCLibrary.h>
Instance Methods | |
(instancetype) | - initWithOptions: |
(void) | - setHumanReadableName:withHTTPUserAgent: |
(void) | - setApplicationIdentifier:withVersion:andApplicationIconName: |
Class Methods | |
(VLCLibrary *) | + sharedLibrary |
Properties | |
BOOL | debugLogging |
int | debugLoggingLevel |
NSString * | version |
NSString * | compiler |
NSString * | changeset |
void * | instance |
The VLCLibrary is the base library of VLCKit.framework. This object provides a shared instance that exposes the internal functionalities of libvlc and libvlc-control. The VLCLibrary object is instantiated automatically when VLCKit.framework is loaded into memory. Also, it is automatically destroyed when VLCKit.framework is unloaded from memory.
Currently, the framework does not support multiple instances of VLCLibrary. Furthermore, you cannot destroy any instance of VLCLibrary; this is done automatically by the dynamic link loader.
- (instancetype) initWithOptions: | (NSArray *) | options |
Returns an individual instance which can be customized with options
options | NSArray with NSString instance containing the options |
- (void) setApplicationIdentifier: | (NSString *) | identifier | |
withVersion: | (NSString *) | version | |
andApplicationIconName: | (NSString *) | icon | |
Sets meta-information about the application
identifier | Java-style application identifier, e.g. "com.acme.foobar" |
version | Application version numbers, e.g. "1.2.3" |
icon | Application icon name, e.g. "foobar" |
- (void) setHumanReadableName: | (NSString *) | readableName | |
withHTTPUserAgent: | (NSString *) | userAgent | |
Sets the application name and HTTP User Agent libvlc will pass it to servers when required by protocol
readableName | Human-readable application name, e.g. "FooBar player 1.2.3" |
userAgent | HTTP User Agent, e.g. "FooBar/1.2.3 Python/2.6.0" |
+ (VLCLibrary *) sharedLibrary |
Returns the library's shared instance
|
readatomiccopy |
Returns the library's changeset
|
readatomiccopy |
Returns the compiler used to build the libvlc binary
|
readwritenonatomicassign |
Enables/disables debug logging
|
readwritenonatomicassign |
Gets/sets the debug logging level
|
readwritenonatomicassign |
libvlc instance wrapped by the VLCLibrary instance
|
readatomiccopy |
Returns the library's version