onRecvCustomCmdMsg property
final
Receipt of Custom Message
When a user in a room uses sendCustomCmdMsg
to send a custom message,
other users in the room can receive the message through the
onRecvCustomCmdMsg
callback.
- Parameters:
- cmdID(int):
- Command ID.
- message(String):
- Message data.
- seq(int):
- Message serial number.
- userId(String):
- User ID.
- cmdID(int):
Implementation
final void Function(String userId, int cmdId, int seq, String message)? onRecvCustomCmdMsg;