OutgoingCallStyle

data class OutgoingCallStyle(val outgoingScreenBackground: Drawable, val cancelCallIcon: Drawable, @ColorInt val cancelCallIconTint: Int, val cancelCallBackground: Drawable, @ColorInt val cancelCallBackgroundTint: Int, val videoIconEnabled: Drawable, val videoIconDisabled: Drawable, val microphoneIconEnabled: Drawable, val microphoneIconDisabled: Drawable, @ColorInt val mediaButtonIconTint: Int, val mediaButtonBackground: Drawable, @ColorInt val mediaButtonBackgroundTint: Int)

Style for OutgoingCallView. Use this class together with TransformStyle.outgoingCallStyleTransformer to change OutgoingCallView styles programmatically.

Parameters

outgoingScreenBackground

Background to be applied when in group calls or if the other user in direct call does not have an avatar.

cancelCallIcon

Icon for the cancel call button.

cancelCallIconTint

Color of the cancel call icon.

cancelCallBackground

The background drawable of cancel button.

cancelCallBackgroundTint

The background color of the cancel button.

videoIconEnabled

The icon shown when camera is enabled.

videoIconDisabled

The icon shown when camera is disabled.

microphoneIconEnabled

The icon shown when microphone is enabled.

microphoneIconDisabled

The icon shown when microphone is disabled.

mediaButtonIconTint

The color of the media control icons (camera and microphone).

mediaButtonBackground

The background for media controls (camera and microphone)

mediaButtonBackgroundTint

The background color for media controls (camera and microphone).

Constructors

Link copied to clipboard
constructor(outgoingScreenBackground: Drawable, cancelCallIcon: Drawable, @ColorInt cancelCallIconTint: Int, cancelCallBackground: Drawable, @ColorInt cancelCallBackgroundTint: Int, videoIconEnabled: Drawable, videoIconDisabled: Drawable, microphoneIconEnabled: Drawable, microphoneIconDisabled: Drawable, @ColorInt mediaButtonIconTint: Int, mediaButtonBackground: Drawable, @ColorInt mediaButtonBackgroundTint: Int)

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