requestVideoCallSwitch method

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

This method is used to request the video call switch.

Implementation

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