reject method

  1. @override
Future<ActionCallback> reject()
override

Implementation

@override
Future<ActionCallback> reject() async {
  V2TimCallback res = await timManager
      .getSignalingManager()
      .reject(inviteID: mCurCallID, data: jsonEncode(getCustomMap()));
  _stopCall();
  emitEvent(TRTCCallingDelegate.onReject, mCurCallID);
  return ActionCallback(code: res.code, desc: res.desc);
}