virtualBackgroundSourceEnabled property

VirtualBackgroundSourceEnabledCallback? virtualBackgroundSourceEnabled
getter/setter pair

Reports whether the virtual background is successfully enabled. (beta function)

The VirtualBackgroundSourceEnabledCallback typedef includes the following parameters:

  • bool enabled: Whether the virtual background is successfully enabled:
    • true: The virtual background is successfully enabled.
    • false: The virtual background is not successfully enabled.
  • VirtualBackgroundSourceStateReason reason: The reason why the virtual background is not successfully enabled or the message that confirms success. See VirtualBackgroundSourceStateReason.

Implementation

VirtualBackgroundSourceEnabledCallback? virtualBackgroundSourceEnabled;