stopShare method

  1. @override
Future<String?> stopShare()

Stop view or screen share.
Return ZoomVideoSDKError_Success if the function succeeds. Otherwise, this function returns an error.

Implementation

@override
Future<String?> stopShare() async {
  if (Platform.isAndroid) {
    await activityMethodChannel.invokeMethod<String?>('stopShareScreen');
  }
  return await methodChannel
      .invokeMethod<String?>('stopShare')
      .then<String?>((String? value) => value);
}