Package | Description |
---|---|
com.amazonaws.services.pinpoint.model |
Modifier and Type | Method and Description |
---|---|
GCMMessage |
GCMMessage.addDataEntry(String key,
String value)
Add a single Data entry
|
GCMMessage |
GCMMessage.addSubstitutionsEntry(String key,
List<String> value)
Add a single Substitutions entry
|
GCMMessage |
GCMMessage.clearDataEntries()
Removes all the entries added into Data.
|
GCMMessage |
GCMMessage.clearSubstitutionsEntries()
Removes all the entries added into Substitutions.
|
GCMMessage |
GCMMessage.clone() |
GCMMessage |
DirectMessageConfiguration.getGCMMessage()
The default push notification message for the GCM channel, which is used to send notifications through the
Firebase Cloud Messaging (FCM), formerly Google Cloud Messaging (GCM), service.
|
GCMMessage |
GCMMessage.withAction(Action action)
The action to occur if the recipient taps the push notification.
|
GCMMessage |
GCMMessage.withAction(String action)
The action to occur if the recipient taps the push notification.
|
GCMMessage |
GCMMessage.withBody(String body)
The body of the notification message.
|
GCMMessage |
GCMMessage.withCollapseKey(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 |
GCMMessage.withData(Map<String,String> data)
The JSON data payload to use for the push notification, if the notification is a silent push notification.
|
GCMMessage |
GCMMessage.withIconReference(String iconReference)
The icon image name of the asset saved in your app.
|
GCMMessage |
GCMMessage.withImageIconUrl(String imageIconUrl)
The URL of the large icon image to display in the content view of the push notification.
|
GCMMessage |
GCMMessage.withImageUrl(String imageUrl)
The URL of an image to display in the push notification.
|
GCMMessage |
GCMMessage.withPriority(String priority)
para>normal - The notification might be delayed.
|
GCMMessage |
GCMMessage.withRawContent(String rawContent)
The raw, JSON-formatted string to use as the payload for the notification message.
|
GCMMessage |
GCMMessage.withRestrictedPackageName(String restrictedPackageName)
The package name of the application where registration tokens must match in order for the recipient to receive
the message.
|
GCMMessage |
GCMMessage.withSilentPush(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 |
GCMMessage.withSmallImageIconUrl(String smallImageIconUrl)
The URL of the small icon image to display in the status bar and the content view of the push notification.
|
GCMMessage |
GCMMessage.withSound(String sound)
The sound to play when the recipient receives the push notification.
|
GCMMessage |
GCMMessage.withSubstitutions(Map<String,List<String>> substitutions)
The default message variables to use in the notification message.
|
GCMMessage |
GCMMessage.withTimeToLive(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 |
GCMMessage.withTitle(String title)
The title to display above the notification message on the recipient's device.
|
GCMMessage |
GCMMessage.withUrl(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.
|
Modifier and Type | Method and Description |
---|---|
void |
DirectMessageConfiguration.setGCMMessage(GCMMessage gCMMessage)
The default push notification message for the GCM channel, which is used to send notifications through the
Firebase Cloud Messaging (FCM), formerly Google Cloud Messaging (GCM), service.
|
DirectMessageConfiguration |
DirectMessageConfiguration.withGCMMessage(GCMMessage gCMMessage)
The default push notification message for the GCM channel, which is used to send notifications through the
Firebase Cloud Messaging (FCM), formerly Google Cloud Messaging (GCM), service.
|
Copyright © 2021. All rights reserved.