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
DeviceProviderFactoryGidBuilder builder() static nothrowGet builder for [gst.device_provider_factory.DeviceProviderFactory] Returns: New builder objectgst.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 createdgobject.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[] 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.Fluent builder implementation template for gst.device_provider_factory.DeviceProviderFactory