CallViewStyle

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

Style for CallView. Use this class together with TransformStyle.callViewStyleTransformer to change CallView styles programmatically.

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.

Constructors

Link copied to clipboard
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)

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
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