startScreenCapture abstract method
Starts screen capture.
This method is for Android and iOS only. The billing for the screen sharing stream is based on the dimensions in ScreenVideoParameters : When you do not pass in a value, Agora bills you at 1280 × 720. When you pass in a value, Agora bills you at that value.
captureParams
The screen sharing encoding parameters. See ScreenCaptureParameters2.
Returns When the method call succeeds, there is no return value; when fails, the AgoraRtcException exception is thrown. You need to catch the exception and handle it accordingly.
Implementation
Future<void> startScreenCapture(ScreenCaptureParameters2 captureParams);