Developer Documentation

Room.BroadcastMessageAsync

public async Task<bool> BroadcastMessageAsync(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 get the message too

Returns

TypeDescription
Task<Boolean>true if data was send or false