updateScreenCaptureRegion method
@hidden(iOS) @detail api @hiddensdk(audiosdk) @author liyi.000 @brief Update the capture area when capturing screen video streams through the internal capture module . @param regionRect The relative capture area to the area set by startScreenVideoCapture:captureParameters:{@link #ByteRTCEngine#startScreenVideoCapture:captureParameters}. @return - 0: Success. - < 0 : Fail. See ByteRTCReturnStatus{@link #ByteRTCReturnStatus} for more details @note Before calling this API, you must call startScreenVideoCapture:captureParameters:{@link #ByteRTCEngine#startScreenVideoCapture:captureParameters} to start internal screen stream capture.
Implementation
FutureOr<int> updateScreenCaptureRegion(CGRect regionRect) async {
return await nativeCall('updateScreenCaptureRegion:', [regionRect]);
}