mirrorMyVideo method

  1. @override
Future<String> mirrorMyVideo(
  1. bool enable
)

Call this method to mirror my video.
enable true: mirror my video, false: disable the mirror effect
Return ZoomVideoSDKError_Success if the function succeeds. Otherwise, this function returns an error.

Implementation

@override
Future<String> mirrorMyVideo(bool enable) async {
  var params = <String, dynamic>{};
  params.putIfAbsent("enable", () => enable);
  return await methodChannel
      .invokeMethod<String>('mirrorMyVideo', params)
      .then<String>((String? value) => value ?? "");
}