gst.device_provider_factory

Module for [DeviceProviderFactory] class

Types 3

#GstDeviceProviderFactory is used to create instances of device providers. A GstDeviceProviderfactory can be added to a #GstPlugin as it is also a #GstPluginFeature.

Use the [gst.device_provider_factory.DeviceProviderFactory.find] and [gst.device_provider_factory.DeviceProviderFactory.get] functions to create device provider instances or use [gst.device_provider_factory.DeviceProviderFactory.getByName] as a convenient shortcut.

Methods
GType _gType() @property
DeviceProviderFactory self()Returns `this`, for use in `with` statements.
DeviceProviderFactoryGidBuilder builder()Get builder for [gst.deviceproviderfactory.DeviceProviderFactory] Returns: New builder object
gst.device_provider_factory.DeviceProviderFactory find(string name)Search for an device provider factory of the given name. Refs the returned device provider factory; caller is responsible for unreffing.
gst.device_provider.DeviceProvider getByName(string factoryname)Returns the device provider of the type defined by the given device provider factory.
gst.device_provider_factory.DeviceProviderFactory[] listGetDeviceProviders(gst.types.Rank minrank)Get a list of factories with a rank greater or equal to minrank. The list of factories is returned by decreasing rank.
gst.device_provider.DeviceProvider get()Returns the device provider of the type defined by the given device providerfactory. Returns: the #GstDeviceProvider or null if the device provider couldn't be created
gobject.types.GType getDeviceProviderType()Get the #GType for device providers managed by this factory. The type can only be retrieved if the device provider factory is loaded, which can be assured with [gst.plugin_feature.PluginFeature.loa...
string getMetadata(string key)Get the metadata on factory with key.
string[] getMetadataKeys()Get the available keys for the metadata on factory. Returns: a null-terminated array of key strings, or null when there is no metadata. Free with [glib.global.strfreev] when no longer needed.
bool hasClasses(string classes = null)Check if factory matches all of the given classes
bool hasClassesv(string[] classes = null)Check if factory matches all of the given classes
Constructors
this(void * ptr, Flag!"Take" take)

Fluent builder for [gst.device_provider_factory.DeviceProviderFactory]