public class NotificationCustomization
extends java.lang.Object
Constructor and Description |
---|
NotificationCustomization() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getBackgroundImageConfiguration()
Returns the background image configuration.
|
java.lang.String |
getTextColor()
Returns the color of message text.
|
java.lang.String |
getTitleColor()
Returns the color of title text.
|
java.lang.String |
toString() |
static NotificationCustomization |
withBackgroundImageConfiguration(java.lang.String backgroundImageConfiguration)
Creates new NotificationCustomization object with the provided background image configuration.
|
NotificationCustomization |
withTextColor(java.lang.String textColor)
Sets notification text color.
|
NotificationCustomization |
withTitleColor(java.lang.String titleColor)
Sets notification title color.
|
public java.lang.String getBackgroundImageConfiguration()
public java.lang.String getTitleColor()
public java.lang.String getTextColor()
public static NotificationCustomization withBackgroundImageConfiguration(java.lang.String backgroundImageConfiguration)
backgroundImageConfiguration
- background image, can be remote url or drawable resource.public NotificationCustomization withTitleColor(java.lang.String titleColor)
titleColor
- color in ARGB format.public NotificationCustomization withTextColor(java.lang.String textColor)
textColor
- color in ARGB format.public java.lang.String toString()
toString
in class java.lang.Object
(c) Copyright GetSocial BV, 2020. All Rights Reserved.