-
public final class CallViewStyleStyle for CallView. Use this class together with TransformStyle.callViewStyleTransformer to change CallView styles programmatically.
-
-
Field Summary
Fields Modifier and Type Field Description private final IntegergridCallParticipantStyleprivate final IntegerlistCallParticipantStyleprivate final FloatlocalParticipantHeightprivate final FloatlocalParticipantWidthprivate final FloatlocalParticipantPaddingprivate final FloatlocalParticipantRadiusprivate final IntegerparticipantListHeightprivate final IntegerparticipantListPaddingprivate final IntegerparticipantListItemMarginprivate final IntegerparticipantListItemWidthprivate final IntegerscreenShareMarginprivate final TextStylepresenterTextStyleprivate final IntegerpresenterTextPaddingprivate final IntegerpresenterTextMarginprivate final DrawablepreConnectionImageprivate final IntegercallControlsHeightprivate final IntegercallControlsWidthLandscapeprivate final BooleanshouldShowGridUsersAsListLandscape
-
Constructor Summary
Constructors Constructor Description CallViewStyle(Integer gridCallParticipantStyle, Integer listCallParticipantStyle, Float localParticipantHeight, Float localParticipantWidth, Float localParticipantPadding, Float localParticipantRadius, Integer participantListHeight, Integer participantListPadding, Integer participantListItemMargin, Integer participantListItemWidth, Integer screenShareMargin, TextStyle presenterTextStyle, Integer presenterTextPadding, Integer presenterTextMargin, Drawable preConnectionImage, Integer callControlsHeight, Integer callControlsWidthLandscape, Boolean shouldShowGridUsersAsListLandscape)
-
Method Summary
Modifier and Type Method Description final IntegergetGridCallParticipantStyle()final IntegergetListCallParticipantStyle()final FloatgetLocalParticipantHeight()final FloatgetLocalParticipantWidth()final FloatgetLocalParticipantPadding()final FloatgetLocalParticipantRadius()final IntegergetParticipantListHeight()final IntegergetParticipantListPadding()final IntegergetParticipantListItemMargin()final IntegergetParticipantListItemWidth()final IntegergetScreenShareMargin()final TextStylegetPresenterTextStyle()final IntegergetPresenterTextPadding()final IntegergetPresenterTextMargin()final DrawablegetPreConnectionImage()final IntegergetCallControlsHeight()final IntegergetCallControlsWidthLandscape()final BooleangetShouldShowGridUsersAsListLandscape()-
-
Constructor Detail
-
CallViewStyle
CallViewStyle(Integer gridCallParticipantStyle, Integer listCallParticipantStyle, Float localParticipantHeight, Float localParticipantWidth, Float localParticipantPadding, Float localParticipantRadius, Integer participantListHeight, Integer participantListPadding, Integer participantListItemMargin, Integer participantListItemWidth, Integer screenShareMargin, TextStyle presenterTextStyle, Integer presenterTextPadding, Integer presenterTextMargin, Drawable preConnectionImage, Integer callControlsHeight, Integer callControlsWidthLandscape, Boolean shouldShowGridUsersAsListLandscape)
- Parameters:
gridCallParticipantStyle- The id of the custom style for CallParticipantView to be applied for each call participant in the CallParticipantsGridView.listCallParticipantStyle- The id of the custom style for CallParticipantView to be applied for each call participant in the CallParticipantsListView.localParticipantHeight- The height of the FloatingParticipantView used fot the local user.localParticipantWidth- The width of the FloatingParticipantView used fot the local user.localParticipantPadding- The padding between the FloatingParticipantView used fot the local user and the borders of CallView.localParticipantRadius- The corner radius of the FloatingParticipantView used fot the local user.participantListHeight- The height of the participants list when there is a screen share session active.participantListPadding- The padding applied to the participants list.participantListItemMargin- The margin between two adjacent CallParticipantViews inside CallParticipantsListView.participantListItemWidth- The width of a CallParticipantView inside CallParticipantsListView.screenShareMargin- Size of the margin between ScreenShareView and CallParticipantsListView.presenterTextStyle- Active screen share presenter text style.presenterTextPadding- Padding around the presenter text.presenterTextMargin- Margin between presenter text and screen share content.preConnectionImage- Placeholder image while the user is connecting to a call.callControlsHeight- The height of the CallControlsView in portrait mode.callControlsWidthLandscape- The width of the CallControlsView in landscape mode.shouldShowGridUsersAsListLandscape- True when we want CallParticipantsGridView to show the user in the list, or false when we want them arranged in a grid.
-
-
Method Detail
-
getGridCallParticipantStyle
final Integer getGridCallParticipantStyle()
-
getListCallParticipantStyle
final Integer getListCallParticipantStyle()
-
getLocalParticipantHeight
final Float getLocalParticipantHeight()
-
getLocalParticipantWidth
final Float getLocalParticipantWidth()
-
getLocalParticipantPadding
final Float getLocalParticipantPadding()
-
getLocalParticipantRadius
final Float getLocalParticipantRadius()
-
getParticipantListHeight
final Integer getParticipantListHeight()
-
getParticipantListPadding
final Integer getParticipantListPadding()
-
getParticipantListItemMargin
final Integer getParticipantListItemMargin()
-
getParticipantListItemWidth
final Integer getParticipantListItemWidth()
-
getScreenShareMargin
final Integer getScreenShareMargin()
-
getPresenterTextStyle
final TextStyle getPresenterTextStyle()
-
getPresenterTextPadding
final Integer getPresenterTextPadding()
-
getPresenterTextMargin
final Integer getPresenterTextMargin()
-
getPreConnectionImage
final Drawable getPreConnectionImage()
-
getCallControlsHeight
final Integer getCallControlsHeight()
-
getCallControlsWidthLandscape
final Integer getCallControlsWidthLandscape()
-
getShouldShowGridUsersAsListLandscape
final Boolean getShouldShowGridUsersAsListLandscape()
-
-
-
-