IncomingCallStyle

data class IncomingCallStyle(val incomingScreenBackground: Drawable, val acceptCallIcon: Drawable, @ColorInt val acceptCallIconTint: Int, val acceptCallBackground: Drawable, @ColorInt val acceptCallBackgroundTint: Int, val declineCallIcon: Drawable, @ColorInt val declineCallIconTint: Int, val declineCallBackground: Drawable, @ColorInt val declineCallBackgroundTint: Int, val videoButtonIconEnabled: Drawable, val videoButtonIconDisabled: Drawable, @ColorInt val videoButtonIconTint: Int, val videoButtonBackground: Drawable, @ColorInt val videoButtonBackgroundTint: Int)

Style for IncomingCallView. Use this class together with TransformStyle.incomingCallStyleTransformer to change IncomingCallView styles programmatically.

Parameters

incomingScreenBackground

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

acceptCallIcon

Icon for the accept call button.

acceptCallIconTint

Color of the accept call icon.

acceptCallBackground

The background drawable of accept button.

acceptCallBackgroundTint

The background color of the accept button.

declineCallIcon

Icon for the cancel call button.

declineCallIconTint

Color of the cancel call icon.

declineCallBackground

The background drawable of cancel button.

declineCallBackgroundTint

The background color of the cancel button.

videoButtonIconTint

The color of the video button icon.

videoButtonBackground

The background for the video button.

videoButtonBackgroundTint

The background color for the video button.

Constructors

Link copied to clipboard
constructor(incomingScreenBackground: Drawable, acceptCallIcon: Drawable, @ColorInt acceptCallIconTint: Int, acceptCallBackground: Drawable, @ColorInt acceptCallBackgroundTint: Int, declineCallIcon: Drawable, @ColorInt declineCallIconTint: Int, declineCallBackground: Drawable, @ColorInt declineCallBackgroundTint: Int, videoButtonIconEnabled: Drawable, videoButtonIconDisabled: Drawable, @ColorInt videoButtonIconTint: Int, videoButtonBackground: Drawable, @ColorInt videoButtonBackgroundTint: 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