-
public final class OutgoingCallStyleStyle for OutgoingCallView. Use this class together with TransformStyle.outgoingCallStyleTransformer to change OutgoingCallView styles programmatically.
-
-
Field Summary
Fields Modifier and Type Field Description private final DrawableoutgoingScreenBackgroundprivate final DrawablecancelCallIconprivate final IntegercancelCallIconTintprivate final DrawablecancelCallBackgroundprivate final IntegercancelCallBackgroundTintprivate final DrawablevideoIconEnabledprivate final DrawablevideoIconDisabledprivate final DrawablemicrophoneIconEnabledprivate final DrawablemicrophoneIconDisabledprivate final IntegermediaButtonIconTintprivate final DrawablemediaButtonBackgroundprivate final IntegermediaButtonBackgroundTint
-
Constructor Summary
Constructors Constructor Description OutgoingCallStyle(Drawable outgoingScreenBackground, Drawable cancelCallIcon, Integer cancelCallIconTint, Drawable cancelCallBackground, Integer cancelCallBackgroundTint, Drawable videoIconEnabled, Drawable videoIconDisabled, Drawable microphoneIconEnabled, Drawable microphoneIconDisabled, Integer mediaButtonIconTint, Drawable mediaButtonBackground, Integer mediaButtonBackgroundTint)
-
Method Summary
Modifier and Type Method Description final DrawablegetOutgoingScreenBackground()final DrawablegetCancelCallIcon()final IntegergetCancelCallIconTint()final DrawablegetCancelCallBackground()final IntegergetCancelCallBackgroundTint()final DrawablegetVideoIconEnabled()final DrawablegetVideoIconDisabled()final DrawablegetMicrophoneIconEnabled()final DrawablegetMicrophoneIconDisabled()final IntegergetMediaButtonIconTint()final DrawablegetMediaButtonBackground()final IntegergetMediaButtonBackgroundTint()-
-
Constructor Detail
-
OutgoingCallStyle
OutgoingCallStyle(Drawable outgoingScreenBackground, Drawable cancelCallIcon, Integer cancelCallIconTint, Drawable cancelCallBackground, Integer cancelCallBackgroundTint, Drawable videoIconEnabled, Drawable videoIconDisabled, Drawable microphoneIconEnabled, Drawable microphoneIconDisabled, Integer mediaButtonIconTint, Drawable mediaButtonBackground, Integer mediaButtonBackgroundTint)
- 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).
-
-
Method Detail
-
getOutgoingScreenBackground
final Drawable getOutgoingScreenBackground()
-
getCancelCallIcon
final Drawable getCancelCallIcon()
-
getCancelCallIconTint
final Integer getCancelCallIconTint()
-
getCancelCallBackground
final Drawable getCancelCallBackground()
-
getCancelCallBackgroundTint
final Integer getCancelCallBackgroundTint()
-
getVideoIconEnabled
final Drawable getVideoIconEnabled()
-
getVideoIconDisabled
final Drawable getVideoIconDisabled()
-
getMicrophoneIconEnabled
final Drawable getMicrophoneIconEnabled()
-
getMicrophoneIconDisabled
final Drawable getMicrophoneIconDisabled()
-
getMediaButtonIconTint
final Integer getMediaButtonIconTint()
-
getMediaButtonBackground
final Drawable getMediaButtonBackground()
-
getMediaButtonBackgroundTint
final Integer getMediaButtonBackgroundTint()
-
-
-
-