Trait gstreamer::prelude::DeviceProviderExtManual

source ·
pub trait DeviceProviderExtManual: Sealed + IsA<DeviceProvider> + 'static {
    // Provided methods
    fn metadata<'a>(&self, key: &str) -> Option<&'a str> { ... }
    fn devices(&self) -> List<Device> { ... }
}

Provided Methods§

source

fn metadata<'a>(&self, key: &str) -> Option<&'a str>

Get metadata with key in self.

§key

the key to get

§Returns

the metadata for key.

source

fn devices(&self) -> List<Device>

Gets a list of devices that this provider understands. This may actually probe the hardware if the provider is not currently started.

If the provider has been started, this will returned the same Device objedcts that have been returned by the GST_MESSAGE_DEVICE_ADDED messages.

§Returns

a GList of Device

Object Safety§

This trait is not object safe.

Implementors§