Sends arbitrary data to a list of target peers to an ODIN room. Every peer connected to the same room will be able to receive the message.
The room in which the message is sent.|
Array of int64|
List of targeted peer ids. If not specified, the message will be sent to all other peers in the same room.|
Array of byte|
Message data can be anything. This enables you to easily exchange data between peers directly over the Odin server.|
Delegate to handle errors when sending a message.|
Called when the message has been successfully sent.|
Called when the server has returned its response. Use the success
value to check if the message has been successfully sent.|
if the message has been successfully sent.