Skip to main content
Version: 20 Mar 2024

NativeBindings

Native bindings for the MLWebRTC.AppDefinedVideoSource class.

Public Methods

delegate void OnDestroyedDelegate

A delegate that describes the requirements of the OnDestroyed callback.

public delegate void OnDestroyedDelegate(
IntPtr context
)

Parameters

TypeNameDescription
IntPtrcontextPointer to a context object.

delegate void OnSetEnabledDelegate

A delegate that describes the requirements of the OnSetEnabled callback.

public delegate void OnSetEnabledDelegate(
bool enabled,
IntPtr context
)

Parameters

TypeNameDescription
boolenabledTrue if the source was enabled.
IntPtrcontextPointer to a context object.