ios_updateScreenCaptureHighlightConfig method
@platform ios @hidden(iOS) @detail api @hiddensdk(audiosdk) @author liyi.000 @brief 内部屏幕流采集时,更新边框高亮设置。默认展示边框。 @param config 边框高亮设置。参见 ByteRTCHighlightConfig{@link #ByteRTCHighlightConfig}。 @return - 0: 调用成功。 - < 0 : 调用失败。查看 ByteRTCReturnStatus{@link #ByteRTCReturnStatus} 获得更多错误说明 @note 调用此接口前,必须已通过调用 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}');
}
}