Struct vlc::Instance [−][src]
pub struct Instance { /* fields omitted */ }
Methods
impl Instance
[src]
impl Instance
pub fn new() -> Option<Instance>
[src]
pub fn new() -> Option<Instance>
Create and initialize a libvlc instance.
pub fn add_intf(&self, name: &str) -> Result<(), ()>
[src]
pub fn add_intf(&self, name: &str) -> Result<(), ()>
Try to start a user interface for the libvlc instance.
pub fn set_user_agent(&self, name: &str, http: &str)
[src]
pub fn set_user_agent(&self, name: &str, http: &str)
Sets the application name. LibVLC passes this as the user agent string when a protocol requires it.
pub fn wait(&self)
[src]
pub fn wait(&self)
Waits until an interface causes the instance to exit.
pub fn set_app_id(&self, id: &str, version: &str, icon: &str)
[src]
pub fn set_app_id(&self, id: &str, version: &str, icon: &str)
Sets some meta-information about the application.
pub fn audio_filter_list_get(&self) -> Option<ModuleDescriptionList>
[src]
pub fn audio_filter_list_get(&self) -> Option<ModuleDescriptionList>
Returns a list of audio filters that are available.
pub fn video_filter_list_get(&self) -> Option<ModuleDescriptionList>
[src]
pub fn video_filter_list_get(&self) -> Option<ModuleDescriptionList>
Returns a list of video filters that are available.
pub fn set_log<F: Fn(LogLevel, Log, Cow<str>) + Send + 'static>(&self, f: F)
[src]
pub fn set_log<F: Fn(LogLevel, Log, Cow<str>) + Send + 'static>(&self, f: F)
Set logging callback
pub fn raw(&self) -> *mut libvlc_instance_t
[src]
pub fn raw(&self) -> *mut libvlc_instance_t
Returns raw pointer