startCallback method
~english Starts contact and group, chatroom callback.
Call this method when you UI is ready, then will receive EMChatRoomEventHandler, EMContactEventHandler, EMGroupEventHandler event. ~end
~chinese /// 开始回调通知。
当UI准备好后调用,调用之后才能收到 EMChatRoomEventHandler, EMContactEventHandler, EMGroupEventHandler 监听。 ~end
Implementation
Future<void> startCallback() async {
Map result = await ClientChannel.invokeMethod(ChatMethodKeys.startCallback);
try {
EMError.hasErrorFromResult(result);
} on EMError catch (e) {
throw e;
}
}