updateConfig method

  1. @override
Future<ResultCode> updateConfig(
  1. RtcEngineConfig config
)
override

Update the configuration of the RtcEngineKit object.

Parameter config RtcEngineConfig object.

Returns

Note Please update the configuration before joining the channel, otherwise it will fail.

更新 RtcEngineKit 对象配置。

Parameter config RtcEngineConfig 对象.

Returns

Note 请在加入频道之前更新配置,否则将返回失败。

Implementation

@override
Future<ResultCode> updateConfig(RtcEngineConfig config) {
  return _invokeCodeMethod('updateConfig', {'config': config.toJson()});
}