refuseRemoteInvitation method

Future<void> refuseRemoteInvitation(
  1. Map arguments
)

Allows the callee to decline a call invitation.

Implementation

Future<void> refuseRemoteInvitation(Map<dynamic, dynamic> arguments) async {
  final res = await _callNative("refuseRemoteInvitation", arguments);
  if (res["errorCode"] != 0)
    throw AgoraRtmClientException(
        "refuseRemoteInvitation failed errorCode:${res['errorCode']}",
        res['errorCode']);
}