MLWebRTCAppDefinedSourceEventCallbacks
The native representation of the MLWebRTC data channel callback events.
Public Methods
MLWebRTCAppDefinedSourceEventCallbacks Create
Factory method used to create a new MLWebRTCAppDefinedVideoSourceEventCallbacks object.
public static MLWebRTCAppDefinedSourceEventCallbacks Create(
IntPtr context,
OnSetEnabledDelegate onSetEnabled,
OnDestroyedDelegate onDestroyed
)
Parameters
Type | Name | Description |
---|---|---|
IntPtr | context | Pointer to the context object to use for the callbacks. |
OnSetEnabledDelegate | onSetEnabled | |
OnDestroyedDelegate | onDestroyed |
Returns: An MLWebRTCAppDefinedVideoSourceEventCallbacks object with the given handle.
Public Attributes
Context
Version of the struct.
public IntPtr Context;
OnDestroyed
OnDestroyed event.
public OnDestroyedDelegate OnDestroyed;
OnSetEnabled
OnSetEnabled event.
public OnSetEnabledDelegate OnSetEnabled;
Version
Version of the struct.
public uint Version;