Package | Description |
---|---|
com.amazonaws.services.pinpoint.model |
Modifier and Type | Method and Description |
---|---|
Message |
Message.clone() |
Message |
MessageConfiguration.getADMMessage()
The message that the campaign sends through the ADM (Amazon Device Messaging) channel.
|
Message |
MessageConfiguration.getAPNSMessage()
The message that the campaign sends through the APNs (Apple Push Notification service) channel.
|
Message |
MessageConfiguration.getBaiduMessage()
The message that the campaign sends through the Baidu (Baidu Cloud Push) channel.
|
Message |
MessageConfiguration.getDefaultMessage()
The default message that the campaign sends through all the channels that are configured for the campaign.
|
Message |
MessageConfiguration.getGCMMessage()
The message that the campaign sends through the GCM channel, which enables Amazon Pinpoint to send push
notifications through the Firebase Cloud Messaging (FCM), formerly Google Cloud Messaging (GCM), service.
|
Message |
Message.withAction(Action action)
The action to occur if a recipient taps the push notification.
|
Message |
Message.withAction(String action)
The action to occur if a recipient taps the push notification.
|
Message |
Message.withBody(String body)
The body of the notification message.
|
Message |
Message.withImageIconUrl(String imageIconUrl)
The URL of the image to display as the push-notification icon, such as the icon for the app.
|
Message |
Message.withImageSmallIconUrl(String imageSmallIconUrl)
The URL of the image to display as the small, push-notification icon, such as a small version of the icon for the
app.
|
Message |
Message.withImageUrl(String imageUrl)
The URL of an image to display in the push notification.
|
Message |
Message.withJsonBody(String jsonBody)
The JSON payload to use for a silent push notification.
|
Message |
Message.withMediaUrl(String mediaUrl)
The URL of the image or video to display in the push notification.
|
Message |
Message.withRawContent(String rawContent)
The raw, JSON-formatted string to use as the payload for the notification message.
|
Message |
Message.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.
|
Message |
Message.withTimeToLive(Integer timeToLive)
The number of seconds that the push-notification service should keep the message, if the service is unable to
deliver the notification the first time.
|
Message |
Message.withTitle(String title)
The title to display above the notification message on a recipient's device.
|
Message |
Message.withUrl(String url)
The URL to open in a 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 |
MessageConfiguration.setADMMessage(Message aDMMessage)
The message that the campaign sends through the ADM (Amazon Device Messaging) channel.
|
void |
MessageConfiguration.setAPNSMessage(Message aPNSMessage)
The message that the campaign sends through the APNs (Apple Push Notification service) channel.
|
void |
MessageConfiguration.setBaiduMessage(Message baiduMessage)
The message that the campaign sends through the Baidu (Baidu Cloud Push) channel.
|
void |
MessageConfiguration.setDefaultMessage(Message defaultMessage)
The default message that the campaign sends through all the channels that are configured for the campaign.
|
void |
MessageConfiguration.setGCMMessage(Message gCMMessage)
The message that the campaign sends through the GCM channel, which enables Amazon Pinpoint to send push
notifications through the Firebase Cloud Messaging (FCM), formerly Google Cloud Messaging (GCM), service.
|
MessageConfiguration |
MessageConfiguration.withADMMessage(Message aDMMessage)
The message that the campaign sends through the ADM (Amazon Device Messaging) channel.
|
MessageConfiguration |
MessageConfiguration.withAPNSMessage(Message aPNSMessage)
The message that the campaign sends through the APNs (Apple Push Notification service) channel.
|
MessageConfiguration |
MessageConfiguration.withBaiduMessage(Message baiduMessage)
The message that the campaign sends through the Baidu (Baidu Cloud Push) channel.
|
MessageConfiguration |
MessageConfiguration.withDefaultMessage(Message defaultMessage)
The default message that the campaign sends through all the channels that are configured for the campaign.
|
MessageConfiguration |
MessageConfiguration.withGCMMessage(Message gCMMessage)
The message that the campaign sends through the GCM channel, which enables Amazon Pinpoint to send push
notifications through the Firebase Cloud Messaging (FCM), formerly Google Cloud Messaging (GCM), service.
|
Copyright © 2022. All rights reserved.