isSupportVirtualBackground method

  1. @override
Future<bool> isSupportVirtualBackground()

Determine whether the user can support smart virtual backgrounds.
Return true means support, you can use virtual background.

Implementation

@override
Future<bool> isSupportVirtualBackground() async {
  return await methodChannel
      .invokeMethod<bool>('isSupportVirtualBackground')
      .then<bool>((bool? value) => value ?? false);
}