| Package | Description |
|---|---|
| com.amazonaws.services.pinpoint.model |
| Modifier and Type | Method and Description |
|---|---|
APNSMessage |
APNSMessage.addDataEntry(String key,
String value)
Add a single Data entry
|
APNSMessage |
APNSMessage.addSubstitutionsEntry(String key,
List<String> value)
Add a single Substitutions entry
|
APNSMessage |
APNSMessage.clearDataEntries()
Removes all the entries added into Data.
|
APNSMessage |
APNSMessage.clearSubstitutionsEntries()
Removes all the entries added into Substitutions.
|
APNSMessage |
APNSMessage.clone() |
APNSMessage |
DirectMessageConfiguration.getAPNSMessage()
The default push notification message for the APNs (Apple Push Notification service) channel.
|
APNSMessage |
APNSMessage.withAction(Action action)
The action to occur if the recipient taps the push notification.
|
APNSMessage |
APNSMessage.withAction(String action)
The action to occur if the recipient taps the push notification.
|
APNSMessage |
APNSMessage.withAPNSPushType(String aPNSPushType)
The type of push notification to send.
|
APNSMessage |
APNSMessage.withBadge(Integer badge)
The key that indicates whether and how to modify the badge of your app's icon when the recipient receives the
push notification.
|
APNSMessage |
APNSMessage.withBody(String body)
The body of the notification message.
|
APNSMessage |
APNSMessage.withCategory(String category)
The key that indicates the notification type for the push notification.
|
APNSMessage |
APNSMessage.withCollapseId(String collapseId)
An arbitrary identifier that, if assigned to multiple messages, APNs uses to coalesce the messages into a single
push notification instead of delivering each message individually.
|
APNSMessage |
APNSMessage.withData(Map<String,String> data)
The JSON payload to use for a silent push notification.
|
APNSMessage |
APNSMessage.withMediaUrl(String mediaUrl)
The URL of an image or video to display in the push notification.
|
APNSMessage |
APNSMessage.withPreferredAuthenticationMethod(String preferredAuthenticationMethod)
The authentication method that you want Amazon Pinpoint to use when authenticating with APNs, CERTIFICATE or
TOKEN.
|
APNSMessage |
APNSMessage.withPriority(String priority)
para>5 - Low priority, the notification might be delayed, delivered as part of a group, or throttled.
|
APNSMessage |
APNSMessage.withRawContent(String rawContent)
The raw, JSON-formatted string to use as the payload for the notification message.
|
APNSMessage |
APNSMessage.withSilentPush(Boolean silentPush)
Specifies whether the notification is a silent push notification.
|
APNSMessage |
APNSMessage.withSound(String sound)
The key for the sound to play when the recipient receives the push notification.
|
APNSMessage |
APNSMessage.withSubstitutions(Map<String,List<String>> substitutions)
The default message variables to use in the notification message.
|
APNSMessage |
APNSMessage.withThreadId(String threadId)
The key that represents your app-specific identifier for grouping notifications.
|
APNSMessage |
APNSMessage.withTimeToLive(Integer timeToLive)
The amount of time, in seconds, that APNs should store and attempt to deliver the push notification, if the
service is unable to deliver the notification the first time.
|
APNSMessage |
APNSMessage.withTitle(String title)
The title to display above the notification message on the recipient's device.
|
APNSMessage |
APNSMessage.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.setAPNSMessage(APNSMessage aPNSMessage)
The default push notification message for the APNs (Apple Push Notification service) channel.
|
DirectMessageConfiguration |
DirectMessageConfiguration.withAPNSMessage(APNSMessage aPNSMessage)
The default push notification message for the APNs (Apple Push Notification service) channel.
|
Copyright © 2021. All rights reserved.