Class DeviceProviderFactory
- Namespace
- Gst
- Assembly
- Gst-1.0.dll
public class DeviceProviderFactory : PluginFeature, IDisposable, NativeObject, GTypeProvider, InstanceFactory
- Inheritance
-
DeviceProviderFactory
- Implements
- Inherited Members
Constructors
DeviceProviderFactory(params ConstructArgument[])
[Obsolete("Regular C# constructors on native classes will be removed in a future version. Please see the linked documentation for more details. It contains scenarios and possible solutions to prepare for the upcoming changes.", DiagnosticId = "GirCore1007", UrlFormat = "https://gircore.github.io/docs/integration/diagnostic/1007.html")]
public DeviceProviderFactory(params ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]
DeviceProviderFactory(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected DeviceProviderFactory(CreationData data)
Parameters
dataCreationData
DeviceProviderFactory(DeviceProviderFactoryHandle)
protected DeviceProviderFactory(DeviceProviderFactoryHandle handle)
Parameters
handleDeviceProviderFactoryHandle
Methods
Find(string)
[Version("1.4")]
public static DeviceProviderFactory? Find(string name)
Parameters
namestring
Returns
Get()
[Version("1.4")]
public DeviceProvider? Get()
Returns
GetByName(string)
[Version("1.4")]
public static DeviceProvider? GetByName(string factoryname)
Parameters
factorynamestring
Returns
GetDeviceProviderType()
[Version("1.4")]
public Type GetDeviceProviderType()
Returns
GetGType()
public static Type GetGType()
Returns
GetMetadata(string)
[Version("1.4")]
public string? GetMetadata(string key)
Parameters
keystring
Returns
GetMetadataKeys()
[Version("1.4")]
public string[]? GetMetadataKeys()
Returns
- string[]
HasClasses(string?)
[Version("1.4")]
public bool HasClasses(string? classes)
Parameters
classesstring
Returns
HasClassesv(string[]?)
[Version("1.4")]
public bool HasClassesv(string[]? classes)
Parameters
classesstring[]
Returns
ListGetDeviceProviders(Rank)
[Version("1.4")]
public static List ListGetDeviceProviders(Rank minrank)
Parameters
minrankRank
Returns
NewFromPointer(nint, bool)
Creates a new managed DeviceProviderFactory instance for a given pointer.
public static DeviceProviderFactory NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new DeviceProviderFactory and sets the properties specified by the construct arguments.
public static DeviceProviderFactory NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.