Trait gstreamer::DeviceProviderExt
source · pub trait DeviceProviderExt {
Show 13 methods
fn can_monitor(&self) -> bool;
fn device_add(&self, device: &Device);
fn device_remove(&self, device: &Device);
fn get_bus(&self) -> Bus;
fn get_devices(&self) -> Vec<Device>;
fn get_factory(&self) -> Option<DeviceProviderFactory>;
fn get_hidden_providers(&self) -> Vec<String>;
fn hide_provider(&self, name: &str);
fn start(&self) -> Result<(), BoolError>;
fn stop(&self);
fn unhide_provider(&self, name: &str);
fn connect_provider_hidden<F: Fn(&Self, &str) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_provider_unhidden<F: Fn(&Self, &str) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId;
}