GCMMessage.Builder |
GCMMessage.Builder.action(String action) |
The action to occur if the recipient taps the push notification.
|
GCMMessage.Builder |
GCMMessage.Builder.action(Action action) |
The action to occur if the recipient taps the push notification.
|
GCMMessage.Builder |
GCMMessage.Builder.body(String body) |
The body of the notification message.
|
static GCMMessage.Builder |
GCMMessage.builder() |
|
GCMMessage.Builder |
GCMMessage.Builder.collapseKey(String collapseKey) |
An arbitrary string that identifies a group of messages that can be collapsed to ensure that only the last
message is sent when delivery can resume.
|
GCMMessage.Builder |
GCMMessage.Builder.data(Map<String,String> data) |
The JSON data payload to use for the push notification, if the notification is a silent push notification.
|
GCMMessage.Builder |
GCMMessage.Builder.iconReference(String iconReference) |
The icon image name of the asset saved in your app.
|
GCMMessage.Builder |
GCMMessage.Builder.imageIconUrl(String imageIconUrl) |
The URL of the large icon image to display in the content view of the push notification.
|
GCMMessage.Builder |
GCMMessage.Builder.imageUrl(String imageUrl) |
The URL of an image to display in the push notification.
|
GCMMessage.Builder |
GCMMessage.Builder.preferredAuthenticationMethod(String preferredAuthenticationMethod) |
The preferred authentication method, with valid values "KEY" or "TOKEN".
|
GCMMessage.Builder |
GCMMessage.Builder.priority(String priority) |
para>normal – The notification might be delayed.
|
GCMMessage.Builder |
GCMMessage.Builder.rawContent(String rawContent) |
The raw, JSON-formatted string to use as the payload for the notification message.
|
GCMMessage.Builder |
GCMMessage.Builder.restrictedPackageName(String restrictedPackageName) |
The package name of the application where registration tokens must match in order for the recipient to
receive the message.
|
GCMMessage.Builder |
GCMMessage.Builder.silentPush(Boolean silentPush) |
Specifies whether the notification is a silent push notification, which is a push notification that doesn't
display on a recipient's device.
|
GCMMessage.Builder |
GCMMessage.Builder.smallImageIconUrl(String smallImageIconUrl) |
The URL of the small icon image to display in the status bar and the content view of the push notification.
|
GCMMessage.Builder |
GCMMessage.Builder.sound(String sound) |
The sound to play when the recipient receives the push notification.
|
GCMMessage.Builder |
GCMMessage.Builder.substitutions(Map<String,? extends Collection<String>> substitutions) |
The default message variables to use in the notification message.
|
GCMMessage.Builder |
GCMMessage.Builder.timeToLive(Integer timeToLive) |
The amount of time, in seconds, that FCM should store and attempt to deliver the push notification, if the
service is unable to deliver the notification the first time.
|
GCMMessage.Builder |
GCMMessage.Builder.title(String title) |
The title to display above the notification message on the recipient's device.
|
GCMMessage.Builder |
GCMMessage.toBuilder() |
|
GCMMessage.Builder |
GCMMessage.Builder.url(String url) |
The URL to open in the recipient's default mobile browser, if a recipient taps the push notification and the
value of the Action property is URL.
|