Class CollectPads
- Namespace
- GstBase
- Assembly
- GstBase-1.0.dll
public class CollectPads : Object, IDisposable, NativeObject, GTypeProvider, InstanceFactory
- Inheritance
-
CollectPads
- Implements
- Inherited Members
Constructors
CollectPads(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 CollectPads(params ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]
CollectPads(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected CollectPads(CreationData data)
Parameters
dataCreationData
CollectPads(CollectPadsHandle)
protected CollectPads(CollectPadsHandle handle)
Parameters
handleCollectPadsHandle
Methods
Available()
public uint Available()
Returns
EventDefault(CollectData, Event, bool)
public bool EventDefault(CollectData data, Event @event, bool discard)
Parameters
dataCollectDataeventEventdiscardbool
Returns
Flush(CollectData, uint)
public uint Flush(CollectData data, uint size)
Parameters
dataCollectDatasizeuint
Returns
GetGType()
public static Type GetGType()
Returns
New()
public static CollectPads New()
Returns
NewFromPointer(nint, bool)
Creates a new managed CollectPads instance for a given pointer.
public static CollectPads NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new CollectPads and sets the properties specified by the construct arguments.
public static CollectPads NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.
Returns
Peek(CollectData)
public Buffer? Peek(CollectData data)
Parameters
dataCollectData
Returns
Pop(CollectData)
public Buffer? Pop(CollectData data)
Parameters
dataCollectData
Returns
QueryDefault(CollectData, Query, bool)
public bool QueryDefault(CollectData data, Query query, bool discard)
Parameters
dataCollectDataqueryQuerydiscardbool
Returns
ReadBuffer(CollectData, uint)
public Buffer? ReadBuffer(CollectData data, uint size)
Parameters
dataCollectDatasizeuint
Returns
RemovePad(Pad)
public bool RemovePad(Pad pad)
Parameters
padPad
Returns
SetBufferFunction(CollectPadsBufferFunction)
public void SetBufferFunction(CollectPadsBufferFunction func)
Parameters
SetCompareFunction(CollectPadsCompareFunction)
public void SetCompareFunction(CollectPadsCompareFunction func)
Parameters
SetEventFunction(CollectPadsEventFunction)
public void SetEventFunction(CollectPadsEventFunction func)
Parameters
SetFlushFunction(CollectPadsFlushFunction)
[Version("1.4")]
public void SetFlushFunction(CollectPadsFlushFunction func)
Parameters
SetFlushing(bool)
public void SetFlushing(bool flushing)
Parameters
flushingbool
SetFunction(CollectPadsFunction)
public void SetFunction(CollectPadsFunction func)
Parameters
funcCollectPadsFunction
SetQueryFunction(CollectPadsQueryFunction)
public void SetQueryFunction(CollectPadsQueryFunction func)
Parameters
SetWaiting(CollectData, bool)
public void SetWaiting(CollectData data, bool waiting)
Parameters
dataCollectDatawaitingbool
SrcEventDefault(Pad, Event)
[Version("1.4")]
public bool SrcEventDefault(Pad pad, Event @event)
Parameters
Returns
Start()
public void Start()
Stop()
public void Stop()
TakeBuffer(CollectData, uint)
public Buffer? TakeBuffer(CollectData data, uint size)
Parameters
dataCollectDatasizeuint