Class ElementFactory
- Namespace
- Gst
- Assembly
- Gst-1.0.dll
public class ElementFactory : PluginFeature, IDisposable, NativeObject, GTypeProvider, InstanceFactory
- Inheritance
-
ElementFactory
- Implements
- Inherited Members
Constructors
ElementFactory(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 ElementFactory(params ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]
ElementFactory(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected ElementFactory(CreationData data)
Parameters
dataCreationData
ElementFactory(ElementFactoryHandle)
protected ElementFactory(ElementFactoryHandle handle)
Parameters
handleElementFactoryHandle
Methods
CanSinkAllCaps(Caps)
public bool CanSinkAllCaps(Caps caps)
Parameters
capsCaps
Returns
CanSinkAnyCaps(Caps)
public bool CanSinkAnyCaps(Caps caps)
Parameters
capsCaps
Returns
CanSrcAllCaps(Caps)
public bool CanSrcAllCaps(Caps caps)
Parameters
capsCaps
Returns
CanSrcAnyCaps(Caps)
public bool CanSrcAnyCaps(Caps caps)
Parameters
capsCaps
Returns
Create(string?)
public Element? Create(string? name)
Parameters
namestring
Returns
CreateValist(string?, nint)
[Version("1.20")]
public Element? CreateValist(string? first, nint properties)
Parameters
Returns
CreateWithProperties(string[]?, Value[]?)
[Version("1.20")]
public Element? CreateWithProperties(string[]? names, Value[]? values)
Parameters
Returns
Find(string)
public static ElementFactory? Find(string name)
Parameters
namestring
Returns
GetElementType()
public Type GetElementType()
Returns
GetGType()
public static Type GetGType()
Returns
GetMetadata(string)
public string? GetMetadata(string key)
Parameters
keystring
Returns
GetMetadataKeys()
public string[]? GetMetadataKeys()
Returns
- string[]
GetNumPadTemplates()
public uint GetNumPadTemplates()
Returns
GetSkipDocumentation()
[Version("1.20")]
public bool GetSkipDocumentation()
Returns
GetStaticPadTemplates()
public List GetStaticPadTemplates()
Returns
GetUriProtocols()
public string[] GetUriProtocols()
Returns
- string[]
GetUriType()
public URIType GetUriType()
Returns
HasInterface(string)
public bool HasInterface(string interfacename)
Parameters
interfacenamestring
Returns
ListFilter(List, Caps, PadDirection, bool)
public static List ListFilter(List list, Caps caps, PadDirection direction, bool subsetonly)
Parameters
listListcapsCapsdirectionPadDirectionsubsetonlybool
Returns
ListGetElements(ElementFactoryListType, Rank)
public static List ListGetElements(ElementFactoryListType type, Rank minrank)
Parameters
typeElementFactoryListTypeminrankRank
Returns
ListIsType(ElementFactoryListType)
public bool ListIsType(ElementFactoryListType type)
Parameters
Returns
Make(string, string?)
public static Element? Make(string factoryname, string? name)
Parameters
Returns
MakeValist(string, string?, nint)
[Version("1.20")]
public static Element? MakeValist(string factoryname, string? first, nint properties)
Parameters
Returns
MakeWithProperties(string, string[]?, Value[]?)
[Version("1.20")]
public static Element? MakeWithProperties(string factoryname, string[]? names, Value[]? values)
Parameters
Returns
NewFromPointer(nint, bool)
Creates a new managed ElementFactory instance for a given pointer.
public static ElementFactory NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new ElementFactory and sets the properties specified by the construct arguments.
public static ElementFactory NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.