startCallback method
~english Starts contact and group, chatroom callback.
Call this method when you UI is ready, then will receive ChatRoomEventHandler, ChatContactEventHandler, ChatGroupEventHandler event.
~end
~chinese 开始回调通知。
当UI准备好后调用,调用之后才能收到 ChatRoomEventHandler, ChatContactEventHandler, ChatGroupEventHandler 监听。
~end
Implementation
Future<void> startCallback() async {
try {
await platform_interface.Client.instance.callNativeMethod(ChatMethodKeys.startCallback);
} catch (e) {
rethrow;
}
}