unsubscribeScreen method
Unsubscribe to a user's screen sharing.
Parameter userId
The user ID defined by customer.
Returns
- ResultCode.OK Success
- others: Failure
Note When a user stops the screen sharing or leaves the channel, the user's screen sharing will be automatically unsubscribed.
取消订阅用户的屏幕共享。
Parameter userId
客户定义的用户标识。
Returns
- ResultCode.OK 成功
- 其他: 失败
Note 当用户停止屏幕共享或者离开频道的时候,用户的屏幕共享将会被自动取消订阅。
Implementation
@override
Future<ResultCode> unsubscribeScreen(String userId) {
return _invokeCodeMethod('unsubscribeScreen', {'userId': userId});
}