ScreenSharingVideoRendererStyle

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

A screen sharing video renderer style, which displays the reactions, and participant label.

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 = true, isShowingReactions: Boolean = true, isShowingParticipantLabel: Boolean = true, isShowingConnectionQualityIndicator: Boolean = false, labelPosition: Alignment = Alignment.BottomStart, reactionDuration: Int = 1000, reactionPosition: Alignment = Alignment.TopEnd)

Properties

Link copied to clipboard
open override val isFocused: Boolean = false
Link copied to clipboard
open override val isScreenSharing: Boolean = true
Link copied to clipboard
open override val isShowingConnectionQualityIndicator: Boolean = false
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 = 1000
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.