startCapture abstract method

Future<void> startCapture(
  1. {ZegoScreenCaptureConfig? config,
  2. bool? inApp}
)

Start screen capture.

Available since: 3.1.0 Description: Start screen capture. When to call: It can be called after the engine by createScreenCaptureSource has been initialized.

  • config Screen capture parameter configuration, only available on the iOS and Android platform.
  • inApp in-app capture only, only available on the iOS platform.

Implementation

Future<void> startCapture({ZegoScreenCaptureConfig? config, bool? inApp});