cancelVideoCallSwitch method

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

This method is used to cancel the video call switch.

Implementation

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