public final class FcmSendMessageNotification extends Object
Modifier and Type | Class and Description |
---|---|
static class |
FcmSendMessageNotification.Builder
A builder that can build
FcmSendMessageRequest s. |
Modifier and Type | Method and Description |
---|---|
String |
getBadge()
Returns the value of the badge on the home screen app icon.
|
String |
getBody()
Returns the notification's body text.
|
String |
getBodyLocArgs()
Returns the variable string values to be used in place of the format specifiers in
bodyLocKey to use to localize the body text to the user's current localization.
|
String |
getBodyLocKey()
Returns the key to the body string in the app's string resources to use to localize the body
text to the user's current localization.
|
String |
getClickAction()
Returns the action associated with a user click on the notification.
|
String |
getColor()
Returns the notification's icon color, expressed in #rrggbb format.
|
String |
getIcon()
Returns the notification's icon.
|
String |
getSound()
Returns the sound to play when the device receives the notification.
|
String |
getTag()
Returns the identifier used to replace existing notifications in the notification drawer.
|
String |
getTitle()
Returns the notification's title.
|
String |
getTitleLocArgs()
Returns the variable string values to be used in place of the format specifiers in
titleLocKey to use to localize the title text to the user's current localization.
|
String |
getTitleLocKey()
Returns the key to the title string in the app's string resources to use to localize the
title text to the user's current localization.
|
@Nullable public String getTitle()
@Nullable public String getBody()
@Nullable public String getSound()
@Nullable public String getClickAction()
@Nullable public String getBodyLocKey()
@Nullable public String getBodyLocArgs()
@Nullable public String getTitleLocKey()
@Nullable public String getTitleLocArgs()
@Nullable public String getIcon()
@Nullable public String getTag()
@Nullable public String getColor()