-
public final class IncomingCallStyleStyle for IncomingCallView. Use this class together with TransformStyle.incomingCallStyleTransformer to change IncomingCallView styles programmatically.
-
-
Field Summary
Fields Modifier and Type Field Description private final DrawableincomingScreenBackgroundprivate final DrawableacceptCallIconprivate final IntegeracceptCallIconTintprivate final DrawableacceptCallBackgroundprivate final IntegeracceptCallBackgroundTintprivate final DrawabledeclineCallIconprivate final IntegerdeclineCallIconTintprivate final DrawabledeclineCallBackgroundprivate final IntegerdeclineCallBackgroundTintprivate final DrawablevideoButtonIconEnabledprivate final DrawablevideoButtonIconDisabledprivate final IntegervideoButtonIconTintprivate final DrawablevideoButtonBackgroundprivate final IntegervideoButtonBackgroundTint
-
Constructor Summary
Constructors Constructor Description IncomingCallStyle(Drawable incomingScreenBackground, Drawable acceptCallIcon, Integer acceptCallIconTint, Drawable acceptCallBackground, Integer acceptCallBackgroundTint, Drawable declineCallIcon, Integer declineCallIconTint, Drawable declineCallBackground, Integer declineCallBackgroundTint, Drawable videoButtonIconEnabled, Drawable videoButtonIconDisabled, Integer videoButtonIconTint, Drawable videoButtonBackground, Integer videoButtonBackgroundTint)
-
Method Summary
Modifier and Type Method Description final DrawablegetIncomingScreenBackground()final DrawablegetAcceptCallIcon()final IntegergetAcceptCallIconTint()final DrawablegetAcceptCallBackground()final IntegergetAcceptCallBackgroundTint()final DrawablegetDeclineCallIcon()final IntegergetDeclineCallIconTint()final DrawablegetDeclineCallBackground()final IntegergetDeclineCallBackgroundTint()final DrawablegetVideoButtonIconEnabled()final DrawablegetVideoButtonIconDisabled()final IntegergetVideoButtonIconTint()final DrawablegetVideoButtonBackground()final IntegergetVideoButtonBackgroundTint()-
-
Constructor Detail
-
IncomingCallStyle
IncomingCallStyle(Drawable incomingScreenBackground, Drawable acceptCallIcon, Integer acceptCallIconTint, Drawable acceptCallBackground, Integer acceptCallBackgroundTint, Drawable declineCallIcon, Integer declineCallIconTint, Drawable declineCallBackground, Integer declineCallBackgroundTint, Drawable videoButtonIconEnabled, Drawable videoButtonIconDisabled, Integer videoButtonIconTint, Drawable videoButtonBackground, Integer videoButtonBackgroundTint)
- 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.
-
-
Method Detail
-
getIncomingScreenBackground
final Drawable getIncomingScreenBackground()
-
getAcceptCallIcon
final Drawable getAcceptCallIcon()
-
getAcceptCallIconTint
final Integer getAcceptCallIconTint()
-
getAcceptCallBackground
final Drawable getAcceptCallBackground()
-
getAcceptCallBackgroundTint
final Integer getAcceptCallBackgroundTint()
-
getDeclineCallIcon
final Drawable getDeclineCallIcon()
-
getDeclineCallIconTint
final Integer getDeclineCallIconTint()
-
getDeclineCallBackground
final Drawable getDeclineCallBackground()
-
getDeclineCallBackgroundTint
final Integer getDeclineCallBackgroundTint()
-
getVideoButtonIconEnabled
final Drawable getVideoButtonIconEnabled()
-
getVideoButtonIconDisabled
final Drawable getVideoButtonIconDisabled()
-
getVideoButtonIconTint
final Integer getVideoButtonIconTint()
-
getVideoButtonBackground
final Drawable getVideoButtonBackground()
-
getVideoButtonBackgroundTint
final Integer getVideoButtonBackgroundTint()
-
-
-
-