Trait gstreamer::prelude::DeviceProviderExt
source · [−]pub trait DeviceProviderExt: 'static {
Show 14 methods
fn can_monitor(&self) -> bool;
fn device_add(&self, device: &impl IsA<Device>);
fn device_changed(
&self,
device: &impl IsA<Device>,
changed_device: &impl IsA<Device>
);
fn device_remove(&self, device: &impl IsA<Device>);
fn bus(&self) -> Bus;
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(&self, device: &impl IsA<Device>)
This is supported on crate feature
v1_16
only.fn device_remove(&self, device: &impl IsA<Device>)
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.