VirtualBackgroundStateManager

Interface for managing the global virtual background enabled state.

Properties

Link copied to clipboard
abstract val isVirtualBackgroundEnabled: StateFlow<Boolean>

A StateFlow indicating whether any virtual background effect (blur or image) is currently enabled.

Functions

Link copied to clipboard
abstract fun setVirtualBackgroundEnabled(isEnabled: Boolean)

Sets the global virtual background enabled state.

Link copied to clipboard
abstract suspend fun updateActiveCall(call: Call)

Updates the active Call instance being observed by the manager.