call method
Future<Map<String, dynamic> >
call(
- BuildContext context, {
- required CallType callType,
- required List<
String> userIdList, - String? chatGroupId,
- String? roomId,
- String? userData,
- Map<
String, dynamic> ? offlinePushInfo,
override
Implementation
@override
Future<Map<String, dynamic>> call(BuildContext context, {required CallType callType, required List<String> userIdList, String? chatGroupId, String? roomId, String? userData, Map<String, dynamic>? offlinePushInfo}) async {
developerLog('该方法是针对web提供的,在 android / ios 端调用也可以成功发起音视频通话,但是可传递的参数没有 [ callForNative ] 方法全面');
try {
return await callForNative(context, callType: callType, userIdList: userIdList, chatGroupId: chatGroupId, roomId: roomId, userData: userData, offlinePushInfo: offlinePushInfo);
} catch(e) {
rethrow;
}
}