Audio Card Options
data class AudioCardOptions(val name: String, val barColor: Int = 0xFFE82E2E.toInt(), val textColor: Int = 0xFF191919.toInt(), val customStyle: Map<String, Any> = emptyMap(), val controlsPosition: String = "topLeft", val infoPosition: String = "topRight", val participant: Participant, val backgroundColor: Int = 0xFF2C678F.toInt(), val audioDecibels: List<AudioDecibels> = emptyList(), val roundedImage: Boolean = false, val imageSource: String = "", val showControls: Boolean = true, val showInfo: Boolean = true, val showWaveform: Boolean = true, val waveformColor: Int = 0xFF4CAF50.toInt(), val onToggleAudio: AudioControlAction? = null, val onToggleVideo: AudioControlAction? = null)
AudioCard - Displays an audio-only participant card with waveform animation.
Shows participant name, avatar/initials, and audio level waveform animation based on decibel levels.
Constructors
Link copied to clipboard
constructor(name: String, barColor: Int = 0xFFE82E2E.toInt(), textColor: Int = 0xFF191919.toInt(), customStyle: Map<String, Any> = emptyMap(), controlsPosition: String = "topLeft", infoPosition: String = "topRight", participant: Participant, backgroundColor: Int = 0xFF2C678F.toInt(), audioDecibels: List<AudioDecibels> = emptyList(), roundedImage: Boolean = false, imageSource: String = "", showControls: Boolean = true, showInfo: Boolean = true, showWaveform: Boolean = true, waveformColor: Int = 0xFF4CAF50.toInt(), onToggleAudio: AudioControlAction? = null, onToggleVideo: AudioControlAction? = null)
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard