setCellularEnhancement method
@hidden(macOS)
@detail api
@hiddensdk(audiosdk)
@brief Enable cellular network assisted communication to improve call quality.
@param config See ByteRTCMediaTypeEnhancementConfig{@link #ByteRTCMediaTypeEnhancementConfig}.
@return Method call result:
- 0: Success.
- -1: Failure, internal error.
- -2: Failure, invalid parameters.
@note The function is off by default.
Implementation
FutureOr<int> setCellularEnhancement(
ByteRTCMediaTypeEnhancementConfig config) async {
return await nativeCall('setCellularEnhancement:', [config]);
}