CallViewStyle

constructor(gridCallParticipantStyle: Int, listCallParticipantStyle: Int, @Px localParticipantHeight: Float, @Px localParticipantWidth: Float, @Px localParticipantPadding: Float, @Px localParticipantRadius: Float, @Px participantListHeight: Int, @Px participantListPadding: Int, @Px participantListItemMargin: Int, @Px participantListItemWidth: Int, @Px screenShareMargin: Int, presenterTextStyle: TextStyle, @Px presenterTextPadding: Int, @Px presenterTextMargin: Int, preConnectionImage: Drawable, @Px callControlsHeight: Int, @Px callControlsWidthLandscape: Int, shouldShowGridUsersAsListLandscape: Boolean)

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. true by default.