ios_updateScreenCaptureHighlightConfig method
@platform ios @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
Future<int?> ios_updateScreenCaptureHighlightConfig(
$p_i.ByteRTCHighlightConfig config) async {
$() => ($instance as $p_i.ByteRTCEngine)
.updateScreenCaptureHighlightConfig(config);
if (Platform.isIOS) {
return $();
} else {
throw UnsupportedError(
'Not Support Platform ${Platform.operatingSystem}');
}
}