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 _getGType() static nothrow
GType _gType() @property nothrow
DeviceProviderFactory self() nothrowReturns `this`, for use in `with` statements.
DeviceProviderFactoryGidBuilder builder() static nothrowGet builder for [gst.device_provider_factory.DeviceProviderFactory] Returns: New builder object
gst.device_provider_factory.DeviceProviderFactory find(string name) static nothrowSearch 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) static nothrowReturns the device provider of the type defined by the given device provider factory.
gst.device_provider_factory.DeviceProviderFactory[] listGetDeviceProviders(gst.types.Rank minrank) static nothrowGet 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() nothrowReturns 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() nothrowGet 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) nothrowGet the metadata on factory with key.
string[] getMetadataKeys() nothrowGet 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) nothrowCheck if factory matches all of the given classes
bool hasClassesv(string[] classes = null) nothrowCheck if factory matches all of the given classes
Constructors
this(void * ptr, Flag!"Take" take)