Class AppSrcSimpleCallbacks
- Namespace
- GstApp
- Assembly
- GstApp-1.0.dll
public sealed class AppSrcSimpleCallbacks : BoxedRecord, GTypeProvider, InstanceFactory, IEquatable<AppSrcSimpleCallbacks>, IDisposable
- Inheritance
-
AppSrcSimpleCallbacks
- Implements
- Inherited Members
Constructors
AppSrcSimpleCallbacks(AppSrcSimpleCallbacksOwnedHandle)
public AppSrcSimpleCallbacks(AppSrcSimpleCallbacksOwnedHandle handle)
Parameters
Properties
Handle
public AppSrcSimpleCallbacksOwnedHandle Handle { get; }
Property Value
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
Equals(AppSrcSimpleCallbacks?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(AppSrcSimpleCallbacks? other)
Parameters
otherAppSrcSimpleCallbacksAn 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 AppSrcSimpleCallbacks New()
Returns
Ref()
[Version("1.28")]
public AppSrcSimpleCallbacks Ref()
Returns
SetEnoughData(AppSrcEnoughDataCallback)
[Version("1.28")]
public void SetEnoughData(AppSrcEnoughDataCallback enoughDataCb)
Parameters
enoughDataCbAppSrcEnoughDataCallbackA callback. If it raises an exception the application will terminate. To receive this unhandled exception see SetHandler(Action<Exception>?).
SetNeedData(AppSrcNeedDataCallback)
[Version("1.28")]
public void SetNeedData(AppSrcNeedDataCallback needDataCb)
Parameters
needDataCbAppSrcNeedDataCallbackA callback. If it raises an exception the application will terminate. To receive this unhandled exception see SetHandler(Action<Exception>?).
SetSeekData(AppSrcSeekDataCallback)
[Version("1.28")]
public void SetSeekData(AppSrcSeekDataCallback seekDataCb)
Parameters
seekDataCbAppSrcSeekDataCallbackA 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()