removeVirtualBackgroundItem method

  1. @override
Future<String> removeVirtualBackgroundItem(
  1. String imageName
)

Remove virtual background object.
imageName the image name of virtual background item.
Return ZoomVideoSDKError_Success if the function succeeds. Otherwise, this function returns an error.

Implementation

@override
Future<String> removeVirtualBackgroundItem(String imageName) async {
  var params = <String, dynamic>{};
  params.putIfAbsent("imageName", () => imageName);

  return await methodChannel
      .invokeMethod<String>('removeVirtualBackgroundItem', params)
      .then<String>((String? value) => value ?? "");
}