| Package | Description |
|---|---|
| com.amazonaws.services.pinpoint.model |
| Modifier and Type | Method and Description |
|---|---|
GCMMessage |
GCMMessage.addDataEntry(String key,
String value) |
GCMMessage |
GCMMessage.addSubstitutionsEntry(String key,
List<String> value) |
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 message to GCM channels.
|
GCMMessage |
GCMMessage.withAction(Action action)
The action that occurs if the user taps a push notification delivered by the campaign: OPEN_APP - Your app
launches, or it becomes the foreground app if it has been sent to the background.
|
GCMMessage |
GCMMessage.withAction(String action)
The action that occurs if the user taps a push notification delivered by the campaign: OPEN_APP - Your app
launches, or it becomes the foreground app if it has been sent to the background.
|
GCMMessage |
GCMMessage.withBody(String body)
The message body of the notification, the email body or the text message.
|
GCMMessage |
GCMMessage.withCollapseKey(String collapseKey)
This parameter identifies a group of messages (e.g., with collapse_key: "Updates Available") that can be
collapsed, so that only the last message gets sent when delivery can be resumed.
|
GCMMessage |
GCMMessage.withData(Map<String,String> data)
The data payload used for a silent push.
|
GCMMessage |
GCMMessage.withIconReference(String iconReference)
The icon image name of the asset saved in your application.
|
GCMMessage |
GCMMessage.withImageIconUrl(String imageIconUrl)
The URL that points to an image used as the large icon to the notification content view.
|
GCMMessage |
GCMMessage.withImageUrl(String imageUrl)
The URL that points to an image used in the push notification.
|
GCMMessage |
GCMMessage.withPriority(String priority)
The message priority.
|
GCMMessage |
GCMMessage.withRawContent(String rawContent)
The Raw JSON formatted string to be used as the payload.
|
GCMMessage |
GCMMessage.withRestrictedPackageName(String restrictedPackageName)
This parameter specifies the package name of the application where the registration tokens must match in order to
receive the message.
|
GCMMessage |
GCMMessage.withSilentPush(Boolean silentPush)
Indicates if the message should display on the users device.
|
GCMMessage |
GCMMessage.withSmallImageIconUrl(String smallImageIconUrl)
The URL that points to an image used as the small icon for the notification which will be used to represent the
notification in the status bar and content view
|
GCMMessage |
GCMMessage.withSound(String sound)
Indicates a sound to play when the device receives the notification.
|
GCMMessage |
GCMMessage.withSubstitutions(Map<String,List<String>> substitutions)
Default message substitutions.
|
GCMMessage |
GCMMessage.withTimeToLive(Integer timeToLive)
The length of time (in seconds) that FCM or GCM stores and attempts to deliver the message.
|
GCMMessage |
GCMMessage.withTitle(String title)
The message title that displays above the message on the user's device.
|
GCMMessage |
GCMMessage.withUrl(String url)
The URL to open in the user's mobile browser.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DirectMessageConfiguration.setGCMMessage(GCMMessage gCMMessage)
The message to GCM channels.
|
DirectMessageConfiguration |
DirectMessageConfiguration.withGCMMessage(GCMMessage gCMMessage)
The message to GCM channels.
|
Copyright © 2018. All rights reserved.