WebRTC Video Chat 1.1.4
Loading...
Searching...
No Matches
Byn.Awrtc.DataMessageEventArgs Class Reference

Event for a received data message. Contains the sent byte[] and indication if it was sent using the reliable or unreliable channel. More...

Inheritance diagram for Byn.Awrtc.DataMessageEventArgs:
Byn.Awrtc.CallEventArgs Byn.Awrtc.IConnectionEvent

Public Member Functions

 DataMessageEventArgs (ConnectionId id, byte[] data, bool reliable)
 Creates a new data message event.
 
- Public Member Functions inherited from Byn.Awrtc.CallEventArgs
 CallEventArgs (CallEventType type)
 Creates a new call event.
 

Properties

ConnectionId ConnectionId [get]
 Not yet fully supported. This will allow to distinguish multiple remote senders.
 
byte[] Content [get]
 Content of the text message.
 
bool Reliable [get]
 true for reliable channel, false for unreliable
 
- Properties inherited from Byn.Awrtc.CallEventArgs
CallEventType Type [get]
 Returns the CallEventType.
 

Detailed Description

Event for a received data message. Contains the sent byte[] and indication if it was sent using the reliable or unreliable channel.

Constructor & Destructor Documentation

◆ DataMessageEventArgs()

Byn.Awrtc.DataMessageEventArgs.DataMessageEventArgs ( ConnectionId id,
byte[] data,
bool reliable )

Creates a new data message event.

Parameters
idconnection id that sent the message
datacontent
reliabletrue for reliable channel, false for unreliable

Property Documentation

◆ ConnectionId

ConnectionId Byn.Awrtc.DataMessageEventArgs.ConnectionId
get

Not yet fully supported. This will allow to distinguish multiple remote senders.

Implements Byn.Awrtc.IConnectionEvent.


The documentation for this class was generated from the following file: