RegularVideoRendererStyle

data class RegularVideoRendererStyle(val isFocused: Boolean = false, val isScreenSharing: Boolean = false, val isShowingReactions: Boolean = true, val isShowingParticipantLabel: Boolean = true, val isShowingConnectionQualityIndicator: Boolean = true, val labelPosition: Alignment = Alignment.BottomStart, val reactionDuration: Int = 650, val reactionPosition: Alignment = Alignment.TopEnd) : VideoRendererStyle

A regular video renderer style, which displays the reactions, participant label, and connection quality indicator.

Parameters

isFocused

Represents whether the participant is focused or not.

isScreenSharing

Represents whether the video renderer is about screen sharing.

isShowingReactions

Represents whether display reaction comes from the call state.

isShowingParticipantLabel

Represents whether display the participant label that contains the name and microphone status of a participant.

isShowingConnectionQualityIndicator

Represents whether displays the connection quality indicator or not.

labelPosition

The position of the participant label that contains the name and microphone status of a participant.

reactionDuration

The duration of the reaction animation.

reactionPosition

The position of the reaction.

Constructors

Link copied to clipboard
constructor(isFocused: Boolean = false, isScreenSharing: Boolean = false, isShowingReactions: Boolean = true, isShowingParticipantLabel: Boolean = true, isShowingConnectionQualityIndicator: Boolean = true, labelPosition: Alignment = Alignment.BottomStart, reactionDuration: Int = 650, reactionPosition: Alignment = Alignment.TopEnd)

Properties

Link copied to clipboard
open override val isFocused: Boolean = false
Link copied to clipboard
open override val isScreenSharing: Boolean = false
Link copied to clipboard
Link copied to clipboard
open override val isShowingParticipantLabel: Boolean = true
Link copied to clipboard
open override val isShowingReactions: Boolean = true
Link copied to clipboard
open override val labelPosition: Alignment
Link copied to clipboard
open override val reactionDuration: Int = 650
Link copied to clipboard
open override val reactionPosition: Alignment

Inherited functions

Link copied to clipboard
fun VideoRendererStyle.copy(isFocused: Boolean = this.isFocused, isScreenSharing: Boolean = this.isScreenSharing, isShowingReactions: Boolean = this.isShowingReactions, isShowingParticipantLabel: Boolean = this.isShowingParticipantLabel, isShowingConnectionQualityIndicator: Boolean = this.isShowingConnectionQualityIndicator, labelPosition: Alignment = this.labelPosition, reactionDuration: Int = this.reactionDuration, reactionPosition: Alignment = this.reactionPosition): VideoRendererStyle

Represents video call render styles.