Class AppSinkSimpleCallbacks
- Namespace
- GstApp
- Assembly
- GstApp-1.0.dll
public sealed class AppSinkSimpleCallbacks : BoxedRecord, GTypeProvider, InstanceFactory, IEquatable<AppSinkSimpleCallbacks>, IDisposable
- Inheritance
-
AppSinkSimpleCallbacks
- Implements
- Inherited Members
Constructors
AppSinkSimpleCallbacks(AppSinkSimpleCallbacksOwnedHandle)
public AppSinkSimpleCallbacks(AppSinkSimpleCallbacksOwnedHandle handle)
Parameters
Properties
Handle
public AppSinkSimpleCallbacksOwnedHandle Handle { get; }
Property Value
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
Equals(AppSinkSimpleCallbacks?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(AppSinkSimpleCallbacks? other)
Parameters
otherAppSinkSimpleCallbacksAn object to compare with this object.
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
objobjectThe object to compare with the current object.
Returns
GetGType()
public static Type GetGType()
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
New()
[Version("1.28")]
public static AppSinkSimpleCallbacks New()
Returns
Ref()
[Version("1.28")]
public AppSinkSimpleCallbacks Ref()
Returns
SetEos(AppSinkEosCallback)
[Version("1.28")]
public void SetEos(AppSinkEosCallback eosCb)
Parameters
eosCbAppSinkEosCallbackA callback. If it raises an exception the application will terminate. To receive this unhandled exception see SetHandler(Action<Exception>?).
SetNewEvent(AppSinkNewEventCallback)
[Version("1.28")]
public void SetNewEvent(AppSinkNewEventCallback newEventCb)
Parameters
newEventCbAppSinkNewEventCallbackA callback. If it raises an exception the application will terminate. To receive this unhandled exception see SetHandler(Action<Exception>?).
SetNewPreroll(AppSinkNewPrerollCallback)
[Version("1.28")]
public void SetNewPreroll(AppSinkNewPrerollCallback newPrerollCb)
Parameters
newPrerollCbAppSinkNewPrerollCallbackA callback. If it raises an exception the application will terminate. To receive this unhandled exception see SetHandler(Action<Exception>?).
SetNewSample(AppSinkNewSampleCallback)
[Version("1.28")]
public void SetNewSample(AppSinkNewSampleCallback newSampleCb)
Parameters
newSampleCbAppSinkNewSampleCallbackA callback. If it raises an exception the application will terminate. To receive this unhandled exception see SetHandler(Action<Exception>?).
SetProposeAllocation(AppSinkProposeAllocationCallback)
[Version("1.28")]
public void SetProposeAllocation(AppSinkProposeAllocationCallback proposeAllocationCb)
Parameters
proposeAllocationCbAppSinkProposeAllocationCallbackA callback. If it raises an exception the application will terminate. To receive this unhandled exception see SetHandler(Action<Exception>?).
Unref()
[Version("1.28")]
public void Unref()