onUserBinaryMessageReceived property

FutureOr<void> Function(long msgid, String uid, ByteBuffer message)? onUserBinaryMessageReceived
getter/setter pair

@platform android @detail callback @brief Receive this callback when you receive a peer-to-peer binary message from another user in the room via sendUserBinaryMessage{@link #RTSRoom#sendUserBinaryMessage}. @param uid The user ID of the sender of the message. @param message The binary message content received.

Implementation

FutureOr<void> Function(long msgid, String uid, ByteBuffer message)?
    onUserBinaryMessageReceived;