subscribeAudio method
Subscribe to a user's audio.
Parameter userId
The user ID defined by customer.
Returns
- ResultCode.OK Success
- others: Failure
Note Before subscribing to a user’s audio, please make sure the user has started the audio.
订阅用户的音频。
Parameter userId
客户定义的用户标识。
Returns
- ResultCode.OK 成功
- 其他: 失败
Note 订阅用户的音频前,请确保用户已开启音频。
Implementation
@override
Future<ResultCode> subscribeAudio(String userId) {
return _invokeCodeMethod('subscribeAudio', {'userId': userId});
}