acceptVideoCallSwitchRequest static method

Future<bool> acceptVideoCallSwitchRequest()

Accepts a request to switch to a video call during an ongoing voice call.

Used to Accept the Video Call Request from Audio to Video Call

This static method initiates the process of switching from a voice call to a video call in the Mirrorfly platform. It calls the underlying platform-specific method provided by Mirrorfly to handle the request.

The method returns a Future that completes with the result of the operation. If the operation is successful, the future completes with the result from the platform-specific method. If an error occurs during the operation, the future completes with an error.

Implementation

static Future<bool> acceptVideoCallSwitchRequest() async {
  return FlyChatFlutterPlatform.instance.acceptVideoCallSwitchRequest();
}