acceptVideoCallSwitchRequest method

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

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

Implementation

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