updateScreenCaptureHighlightConfig method

FutureOr<int> updateScreenCaptureHighlightConfig(
  1. ByteRTCHighlightConfig config
)

@hidden(iOS) @detail api @hiddensdk(audiosdk) @author liyi.000 @brief Update border highlighting settings when capturing screen video streams through the internal capture module. The border is shown by default. @param config Border highlighting settings. See ByteRTCHighlightConfig{@link #ByteRTCHighlightConfig}. @return - 0: Success. - < 0 : Fail. See ByteRTCReturnStatus{@link #ByteRTCReturnStatus} for more details @note Before calling this API, you must have turned on internal screen capture by calling startScreenVideoCapture:captureParameters:{@link #ByteRTCEngine#startScreenVideoCapture:captureParameters}.

Implementation

FutureOr<int> updateScreenCaptureHighlightConfig(
    ByteRTCHighlightConfig config) async {
  return await nativeCall('updateScreenCaptureHighlightConfig:', [config]);
}