Table of Contents

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

handle AppSinkSimpleCallbacksOwnedHandle

Properties

Handle

public AppSinkSimpleCallbacksOwnedHandle Handle { get; }

Property Value

AppSinkSimpleCallbacksOwnedHandle

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

other AppSinkSimpleCallbacks

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object?)

Determines whether the specified object is equal to the current object.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

GetGType()

public static Type GetGType()

Returns

Type

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

AppSinkSimpleCallbacks

Ref()

[Version("1.28")]
public AppSinkSimpleCallbacks Ref()

Returns

AppSinkSimpleCallbacks

SetEos(AppSinkEosCallback)

[Version("1.28")]
public void SetEos(AppSinkEosCallback eosCb)

Parameters

eosCb AppSinkEosCallback

A 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

newEventCb AppSinkNewEventCallback

A 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

newPrerollCb AppSinkNewPrerollCallback

A 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

newSampleCb AppSinkNewSampleCallback

A 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

proposeAllocationCb AppSinkProposeAllocationCallback

A 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()