declineVideoCallSwitchRequest method

  1. @override
Future<bool> declineVideoCallSwitchRequest()
override

This method is used to decline the video call switch request.

Implementation

@override
Future<bool> declineVideoCallSwitchRequest() async {
  bool res;
  try {
    res = await mirrorFlyCallMethodChannel
        .invokeMethod('declineVideoCallSwitchRequest');
    LogMessage.d('declineVideoCallSwitchRequest', '$res');
    return res;
  } on PlatformException catch (e) {
    LogMessage.d("Platform Exception =", " $e");
    rethrow;
  } on Exception catch (error) {
    LogMessage.d("Exception ", " $error");
    rethrow;
  }
}