lockShare method
Lock sharing the view or screen. Only the host can call this method.
lock
true: if you want to lock share, false: to disable the lock
Return ZoomVideoSDKError_Success
if the function succeeds. Otherwise, this function returns an error.
Implementation
@override
Future<String> lockShare(bool lock) async {
var params = <String, dynamic>{};
params.putIfAbsent('lock', () => lock);
return await methodChannel
.invokeMethod<String>('lockShare', params)
.then<String>((String? value) => value ?? "");
}