controllers/rtm_controller library
Functions
-
rtmMethods(
{required AgoraRtmChannelEventHandler agoraRtmChannelEventHandler, required SessionController sessionController}) → Future< void> - Function to join the RTM channel and send the user data to everyone inside that channel.
-
sendUserData(
{required bool toChannel, required String username, String? peerRtmId, required SessionController sessionController}) → Future< void>