-
public final class CallParticipantStyleStyle for CallParticipantView. Use this class together with TransformStyle.callParticipantStyleTransformer to change CallParticipantView styles programmatically.
-
-
Field Summary
Fields Modifier and Type Field Description private final CallParticipantLabelAlignmentlabelAlignmentprivate final IntegerlabelMarginprivate final IntegeractiveSpeakerBorderWidthprivate final IntegeractiveSpeakerBorderColorprivate final TextStylelabelTextStyleprivate final IntegerlabelBackgroundColorprivate final DrawableparticipantMicOffIconprivate final IntegerparticipantMicOffIconTintprivate final IntegerparticipantAudioLevelTintprivate final Floatelevationprivate final FloatcornerRadius
-
Constructor Summary
Constructors Constructor Description CallParticipantStyle(CallParticipantLabelAlignment labelAlignment, Integer labelMargin, Integer activeSpeakerBorderWidth, Integer activeSpeakerBorderColor, TextStyle labelTextStyle, Integer labelBackgroundColor, Drawable participantMicOffIcon, Integer participantMicOffIconTint, Integer participantAudioLevelTint, Float elevation, Float cornerRadius)
-
Method Summary
Modifier and Type Method Description final CallParticipantLabelAlignmentgetLabelAlignment()final IntegergetLabelMargin()final IntegergetActiveSpeakerBorderWidth()final IntegergetActiveSpeakerBorderColor()final TextStylegetLabelTextStyle()final IntegergetLabelBackgroundColor()final DrawablegetParticipantMicOffIcon()final IntegergetParticipantMicOffIconTint()final IntegergetParticipantAudioLevelTint()final FloatgetElevation()final FloatgetCornerRadius()-
-
Constructor Detail
-
CallParticipantStyle
CallParticipantStyle(CallParticipantLabelAlignment labelAlignment, Integer labelMargin, Integer activeSpeakerBorderWidth, Integer activeSpeakerBorderColor, TextStyle labelTextStyle, Integer labelBackgroundColor, Drawable participantMicOffIcon, Integer participantMicOffIconTint, Integer participantAudioLevelTint, Float elevation, Float cornerRadius)
- 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.
-
-
Method Detail
-
getLabelAlignment
final CallParticipantLabelAlignment getLabelAlignment()
-
getLabelMargin
final Integer getLabelMargin()
-
getActiveSpeakerBorderWidth
final Integer getActiveSpeakerBorderWidth()
-
getActiveSpeakerBorderColor
final Integer getActiveSpeakerBorderColor()
-
getLabelTextStyle
final TextStyle getLabelTextStyle()
-
getLabelBackgroundColor
final Integer getLabelBackgroundColor()
-
getParticipantMicOffIcon
final Drawable getParticipantMicOffIcon()
-
getParticipantMicOffIconTint
final Integer getParticipantMicOffIconTint()
-
getParticipantAudioLevelTint
final Integer getParticipantAudioLevelTint()
-
getElevation
final Float getElevation()
-
getCornerRadius
final Float getCornerRadius()
-
-
-
-