muteScreen method
Pause screen sharing.
Returns
- ResultCode.OK Success
- others: Failure
Note Please start the screen sharing before pausing, otherwise it will not work. Support on iOS only.
暂停屏幕共享。
Returns
- ResultCode.OK 成功
- 其他: 失败
Note 暂停屏幕共享前请先开启屏幕共享,否则操作将无效。仅支持iOS。
Implementation
@override
Future<ResultCode> muteScreen() {
if (defaultTargetPlatform == TargetPlatform.iOS) {
return _invokeCodeMethod('muteScreen');
}
return Future.value(ResultCode.NotSupported);
}