CallParticipantStyle

data class CallParticipantStyle(val labelAlignment: CallParticipantLabelAlignment, @Px val labelMargin: Int, @Px val activeSpeakerBorderWidth: Int, @ColorInt val activeSpeakerBorderColor: Int, val labelTextStyle: TextStyle, @ColorInt val labelBackgroundColor: Int, val participantMicOffIcon: Drawable, @ColorInt val participantMicOffIconTint: Int, @ColorInt val participantAudioLevelTint: Int, @Px val elevation: Float, @Px val cornerRadius: Float)

Style for CallParticipantView. Use this class together with TransformStyle.callParticipantStyleTransformer to change CallParticipantView styles programmatically.

Parameters

labelAlignment

The alignment of the microphone off/on icon and name label.

labelMargin

The margin between the name label and the CallParticipantView borders.

activeSpeakerBorderColor

The colour of the active speaking participant border.

labelTextStyle

The text style for the participants name label.

labelBackgroundColor

The colour of the participant name label background.

participantMicOffIcon

The icon indicating when the participants microphone is off.

participantMicOffIconTint

The colour of the microphone off indicator drawable.

participantAudioLevelTint

The color of the audio level when the microphone is on.

elevation

The elevation of the CallParticipantView.

cornerRadius

The radius of the CallParticipantView corners.

Constructors

Link copied to clipboard
constructor(labelAlignment: CallParticipantLabelAlignment, @Px labelMargin: Int, @Px activeSpeakerBorderWidth: Int, @ColorInt activeSpeakerBorderColor: Int, labelTextStyle: TextStyle, @ColorInt labelBackgroundColor: Int, participantMicOffIcon: Drawable, @ColorInt participantMicOffIconTint: Int, @ColorInt participantAudioLevelTint: Int, @Px elevation: Float, @Px cornerRadius: Float)

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