Trait gstreamer_base::prelude::DeviceMonitorExt [−][src]
pub trait DeviceMonitorExt {
fn add_filter<'a, 'b, P, Q>(&self, classes: P, caps: Q) -> u32
where
P: Into<Option<&'a str>>,
Q: Into<Option<&'b GstRc<CapsRef>>>;
fn get_bus(&self) -> Bus;
fn get_devices(&self) -> Vec<Device>;
fn get_providers(&self) -> Vec<String>;
fn get_show_all_devices(&self) -> bool;
fn remove_filter(&self, filter_id: u32) -> bool;
fn set_show_all_devices(&self, show_all: bool);
fn start(&self) -> Result<(), BoolError>;
fn stop(&self);
fn get_property_show_all(&self) -> bool;
fn set_property_show_all(&self, show_all: bool);
fn connect_property_show_all_notify<F>(&self, f: F) -> SignalHandlerId
where
F: 'static + Send + Sync + Fn(&Self);
}Required Methods
fn add_filter<'a, 'b, P, Q>(&self, classes: P, caps: Q) -> u32 where
P: Into<Option<&'a str>>,
Q: Into<Option<&'b GstRc<CapsRef>>>,
P: Into<Option<&'a str>>,
Q: Into<Option<&'b GstRc<CapsRef>>>,
fn get_bus(&self) -> Bus
fn get_devices(&self) -> Vec<Device>
fn get_providers(&self) -> Vec<String>
fn get_show_all_devices(&self) -> bool
fn remove_filter(&self, filter_id: u32) -> bool
fn set_show_all_devices(&self, show_all: bool)
fn start(&self) -> Result<(), BoolError>
fn stop(&self)
fn get_property_show_all(&self) -> bool
fn set_property_show_all(&self, show_all: bool)
fn connect_property_show_all_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Send + Sync + Fn(&Self),
F: 'static + Send + Sync + Fn(&Self),
Implementors
impl<O> DeviceMonitorExt for O where
O: IsA<DeviceMonitor> + IsA<Object>,