sendUserBinaryMessage abstract method

Future<int?> sendUserBinaryMessage({
  1. required String uid,
  2. required Uint8List message,
  3. required MessageConfig config,
})

Sends a binary message (P2P) to the specified user in the room.

The message length must not exceed 46 KB.

config: Reliability of the message.

Notes:

Implementation

Future<int?> sendUserBinaryMessage({
  required String uid,
  required Uint8List message,
  required MessageConfig config,
});