Table of Contents

Class MetaFactory

Namespace
Gst
Assembly
Gst-1.0.dll
public class MetaFactory : PluginFeature, IDisposable, NativeObject, GTypeProvider, InstanceFactory
Inheritance
MetaFactory
Implements
Inherited Members

Constructors

MetaFactory(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 MetaFactory(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

MetaFactory(CreationData)

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

Parameters

data CreationData

MetaFactory(MetaFactoryHandle)

protected MetaFactory(MetaFactoryHandle handle)

Parameters

handle MetaFactoryHandle

Methods

GetGType()

public static Type GetGType()

Returns

Type

Load(string)

[Version("1.28")]
public static MetaInfo Load(string factoryname)

Parameters

factoryname string

Returns

MetaInfo

NewFromPointer(nint, bool)

Creates a new managed MetaFactory instance for a given pointer.

public static MetaFactory NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

MetaFactory

NewWithProperties(ConstructArgument[])

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

public static MetaFactory NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

MetaFactory

Register(Plugin, MetaInfo)

[Version("1.28")]
public static bool Register(Plugin plugin, MetaInfo metaInfo)

Parameters

plugin Plugin
metaInfo MetaInfo

Returns

bool