[][src]Trait gstreamer::DeviceProviderExt

pub trait DeviceProviderExt: 'static {
    fn can_monitor(&self) -> bool;
fn device_add<P: IsA<Device>>(&self, device: &P);
fn device_remove<P: IsA<Device>>(&self, device: &P);
fn get_bus(&self) -> Bus;
fn get_devices(&self) -> Vec<Device>;
fn get_factory(&self) -> Option<DeviceProviderFactory>;
fn get_hidden_providers(&self) -> Vec<GString>;
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; }

Required methods

fn can_monitor(&self) -> bool

fn device_add<P: IsA<Device>>(&self, device: &P)

fn device_remove<P: IsA<Device>>(&self, device: &P)

fn get_bus(&self) -> Bus

fn get_devices(&self) -> Vec<Device>

fn get_factory(&self) -> Option<DeviceProviderFactory>

fn get_hidden_providers(&self) -> Vec<GString>

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

Loading content...

Implementors

impl<O: IsA<DeviceProvider>> DeviceProviderExt for O[src]

Loading content...