MLWebRTCConnectionEventCallbacks
The native representation of the MLWebRTC callback events.
Public Attributes
Context
Context pointer.
public IntPtr Context;
OnConnected
OnConnected event.
public OnConnectedDelegate OnConnected;
Type | Description |
---|---|
OnConnectedDelegate | Delegate describing the callback necessary to monitor if a connection has been made. |
OnDataChannelReceived
OnDataChannelReceived event.
public OnDataChannelReceivedDelegate OnDataChannelReceived;
Type | Description |
---|---|
OnDataChannelReceivedDelegate | A delegate that describes the requirements of the OnDataChannelReceivedDelegate callback. |
OnDisconnected
OnDisconnected event.
public OnDisconnectedDelegate OnDisconnected;
Type | Description |
---|---|
OnDisconnectedDelegate | Delegate describing the callback necessary to monitor if a disconnection has been made. |
OnError
OnError event.
public OnErrorDelegate OnError;
Type | Description |
---|---|
OnErrorDelegate | Delegate describing the callback necessary to monitor errors. |
OnIceGatheringCompleted
OnIceGatheringCompleted event.
public OnIceGatheringCompletedDelegate OnIceGatheringCompleted;
Type | Description |
---|---|
OnIceGatheringCompletedDelegate | Delegate describing the callback necessary to notify that all ICEs have been gathered. |
OnLocalAnswerCreated
OnSendAnswer event.
public OnLocalAnswerCreatedDelegate OnLocalAnswerCreated;
Type | Description |
---|---|
OnLocalAnswerCreatedDelegate | Delegate describing the callback necessary to monitor when an answer to an offer is sent. |
OnLocalIceCandidateFound
OnSendIceCandidate event.
public OnLocalIceCandidateFoundDelegate OnLocalIceCandidateFound;
Type | Description |
---|---|
OnLocalIceCandidateFoundDelegate | Delegate describing the callback necessary to monitor when an ice candidate is sent. |
OnLocalOfferCreated
OnSendOffer event.
public OnLocalOfferCreatedDelegate OnLocalOfferCreated;
Type | Description |
---|---|
OnLocalOfferCreatedDelegate | Delegate describing the callback necessary to monitor when an offer is sent. |
OnTrackAdded
OnTrackAdded event.
public OnTrackAddedDelegate OnTrackAdded;
OnTrackRemoved
OnTrackRemoved event.
public OnTrackRemovedDelegate OnTrackRemoved;
Version
Version of the struct.
public uint Version;