enableVirtualBackground method

Future<void> enableVirtualBackground({
  1. required Uint8List backgroundImage,
  2. double thresholdConfidence = 0.7,
})

Implementation

Future<void> enableVirtualBackground({
  required Uint8List backgroundImage,
  double thresholdConfidence = 0.7,
}) async {
  await _sdk.enableVirtualBackground(
    backgroundImage: backgroundImage,
    thresholdConfidence: thresholdConfidence,
  );
}