startCallback method
/// 开始回调通知。
当UI准备好后调用,调用之后才能收到 ChatRoomEventHandler
, ChatContactEventHandler, ChatGroupEventHandler 监听。
Implementation
Future<void> startCallback() async {
Map result = await ClientChannel.invokeMethod(ChatMethodKeys.startCallback);
try {
ChatError.hasErrorFromResult(result);
} on ChatError catch (e) {
throw e;
}
}