Table of Contents

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

constructArguments ConstructArgument[]

DeviceProviderFactory(CreationData)

[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected DeviceProviderFactory(CreationData data)

Parameters

data CreationData

DeviceProviderFactory(DeviceProviderFactoryHandle)

protected DeviceProviderFactory(DeviceProviderFactoryHandle handle)

Parameters

handle DeviceProviderFactoryHandle

Methods

Find(string)

[Version("1.4")]
public static DeviceProviderFactory? Find(string name)

Parameters

name string

Returns

DeviceProviderFactory

Get()

[Version("1.4")]
public DeviceProvider? Get()

Returns

DeviceProvider

GetByName(string)

[Version("1.4")]
public static DeviceProvider? GetByName(string factoryname)

Parameters

factoryname string

Returns

DeviceProvider

GetDeviceProviderType()

[Version("1.4")]
public Type GetDeviceProviderType()

Returns

Type

GetGType()

public static Type GetGType()

Returns

Type

GetMetadata(string)

[Version("1.4")]
public string? GetMetadata(string key)

Parameters

key string

Returns

string

GetMetadataKeys()

[Version("1.4")]
public string[]? GetMetadataKeys()

Returns

string[]

HasClasses(string?)

[Version("1.4")]
public bool HasClasses(string? classes)

Parameters

classes string

Returns

bool

HasClassesv(string[]?)

[Version("1.4")]
public bool HasClassesv(string[]? classes)

Parameters

classes string[]

Returns

bool

ListGetDeviceProviders(Rank)

[Version("1.4")]
public static List ListGetDeviceProviders(Rank minrank)

Parameters

minrank Rank

Returns

List

NewFromPointer(nint, bool)

Creates a new managed DeviceProviderFactory instance for a given pointer.

public static DeviceProviderFactory NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

DeviceProviderFactory

NewWithProperties(ConstructArgument[])

Creates a new DeviceProviderFactory and sets the properties specified by the construct arguments.

public static DeviceProviderFactory NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

DeviceProviderFactory