Event for a received data message. Contains the sent byte[] and indication if it was sent using the reliable or unreliable channel.
More...
|
| 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
|
|
CallEventType | Type [get] |
| | Returns the CallEventType.
|
Event for a received data message. Contains the sent byte[] and indication if it was sent using the reliable or unreliable channel.
◆ DataMessageEventArgs()
| Byn.Awrtc.DataMessageEventArgs.DataMessageEventArgs |
( |
ConnectionId | id, |
|
|
byte[] | data, |
|
|
bool | reliable ) |
Creates a new data message event.
- Parameters
-
| id | connection id that sent the message |
| data | content |
| reliable | true for reliable channel, false for unreliable |
◆ ConnectionId
| ConnectionId Byn.Awrtc.DataMessageEventArgs.ConnectionId |
|
get |
The documentation for this class was generated from the following file:
- /Users/christoph/dev/wrtc/main/awrtc/awrtc_cs_common/Byn.Awrtc/CallEventArgs.cs