Developer Documentation
Our new developer documentation is now available. Please check it out!

Room.BroadcastMessage

public bool BroadcastMessage(byte[] data, bool includeSelf = false)

Sends arbitrary data to a all remote peers in this room.

Parameters

NameTypeDescription
dataByte[]arbitrary byte array
includeSelfBooleanidicates whether this current peer id

Returns

TypeDescription
Booleantrue if data was send or false