VirtualBackground

data class VirtualBackground(val id: String, val type: BackgroundType, val name: String, val thumbnailUrl: String? = null, val imageUrl: String? = null, val imageBytes: ByteArray? = null, val color: Color? = null, val blurIntensity: Float = 0.5f, val videoUrl: String? = null, val isPreset: Boolean = false, val isSelected: Boolean = false)

Virtual background configuration.

Constructors

Link copied to clipboard
constructor(id: String, type: BackgroundType, name: String, thumbnailUrl: String? = null, imageUrl: String? = null, imageBytes: ByteArray? = null, color: Color? = null, blurIntensity: Float = 0.5f, videoUrl: String? = null, isPreset: Boolean = false, isSelected: Boolean = false)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val blurIntensity: Float = 0.5f

Blur intensity (for blur type, 0.0 to 1.0)

Link copied to clipboard
val color: Color? = null

Color value (for color type)

Link copied to clipboard
val id: String

Unique identifier for the background

Link copied to clipboard
val imageBytes: ByteArray? = null

Image bytes (for local images)

Link copied to clipboard
val imageUrl: String? = null

Full image URL (for image type)

Link copied to clipboard
val isPreset: Boolean = false

Whether this is a default/preset background

Link copied to clipboard
val isSelected: Boolean = false

Whether this background is currently selected

Link copied to clipboard

Display name

Link copied to clipboard
val thumbnailUrl: String? = null

Thumbnail for UI display

Link copied to clipboard

Type of background

Link copied to clipboard
val videoUrl: String? = null

Video URL (for video type)

Functions

Link copied to clipboard
fun copyWith(id: String? = null, type: BackgroundType? = null, name: String? = null, thumbnailUrl: String? = null, imageUrl: String? = null, imageBytes: ByteArray? = null, color: Color? = null, blurIntensity: Float? = null, videoUrl: String? = null, isPreset: Boolean? = null, isSelected: Boolean? = null): VirtualBackground
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
fun toMap(): Map<String, Any?>