Trait gstreamer::prelude::DeviceProviderExt [−][src]
pub trait DeviceProviderExt: 'static {
Show 15 methods
fn can_monitor(&self) -> bool;
fn device_add<P: IsA<Device>>(&self, device: &P);
fn device_changed<P: IsA<Device>, Q: IsA<Device>>(
&self,
device: &P,
changed_device: &Q
);
fn device_remove<P: IsA<Device>>(&self, device: &P);
fn bus(&self) -> Bus;
fn devices(&self) -> Vec<Device>;
fn factory(&self) -> Option<DeviceProviderFactory>;
fn hidden_providers(&self) -> Vec<GString>;
fn hide_provider(&self, name: &str);
fn is_started(&self) -> bool;
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;
}
Required methods
fn can_monitor(&self) -> bool
fn device_add<P: IsA<Device>>(&self, device: &P)
This is supported on crate feature
v1_16
only.fn device_remove<P: IsA<Device>>(&self, device: &P)
fn factory(&self) -> Option<DeviceProviderFactory>
fn hide_provider(&self, name: &str)
fn is_started(&self) -> bool
fn is_started(&self) -> bool
This is supported on crate feature
v1_20
only.