Our new developer documentation is now available. Please check it out!
Room.BroadcastMessage
Warning
Version 1.1.0 is deprecated and will be removed in the future and is not being supported for new users. Please update to the latest version as soon as possible.
public bool BroadcastMessage(byte[] data, bool includeSelf = false)
Sends arbitrary data to a all remote peers in this room.
Parameters
Name | Type | Description |
---|---|---|
data | Byte[] | arbitrary byte array |
includeSelf | Boolean | idicates whether this current peer id |
Returns
Type | Description |
---|---|
Boolean | true if data was send or false |