| Package | Description |
|---|---|
| com.amazonaws.services.pinpoint.model |
| Modifier and Type | Method and Description |
|---|---|
APNSMessage |
APNSMessage.addDataEntry(String key,
String value) |
APNSMessage |
APNSMessage.addSubstitutionsEntry(String key,
List<String> value) |
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 message to APNS channels.
|
APNSMessage |
APNSMessage.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.
|
APNSMessage |
APNSMessage.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.
|
APNSMessage |
APNSMessage.withBadge(Integer badge)
Include this key when you want the system to modify the badge of your app icon.
|
APNSMessage |
APNSMessage.withBody(String body)
The message body of the notification, the email body or the text message.
|
APNSMessage |
APNSMessage.withCategory(String category)
Provide this key with a string value that represents the notification's type.
|
APNSMessage |
APNSMessage.withCollapseId(String collapseId)
An ID that, if assigned to multiple messages, causes APNs to coalesce the messages into a single push
notification instead of delivering each message individually.
|
APNSMessage |
APNSMessage.withData(Map<String,String> data)
The data payload used for a silent push.
|
APNSMessage |
APNSMessage.withMediaUrl(String mediaUrl)
The URL that points to a video used in the push notification.
|
APNSMessage |
APNSMessage.withPreferredAuthenticationMethod(String preferredAuthenticationMethod)
The preferred authentication method, either "CERTIFICATE" or "TOKEN"
|
APNSMessage |
APNSMessage.withPriority(String priority)
The message priority.
|
APNSMessage |
APNSMessage.withRawContent(String rawContent)
The Raw JSON formatted string to be used as the payload.
|
APNSMessage |
APNSMessage.withSilentPush(Boolean silentPush)
Indicates if the message should display on the users device.
|
APNSMessage |
APNSMessage.withSound(String sound)
Include this key when you want the system to play a sound.
|
APNSMessage |
APNSMessage.withSubstitutions(Map<String,List<String>> substitutions)
Default message substitutions.
|
APNSMessage |
APNSMessage.withThreadId(String threadId)
Provide this key with a string value that represents the app-specific identifier for grouping notifications.
|
APNSMessage |
APNSMessage.withTimeToLive(Integer timeToLive)
The length of time (in seconds) that APNs stores and attempts to deliver the message.
|
APNSMessage |
APNSMessage.withTitle(String title)
The message title that displays above the message on the user's device.
|
APNSMessage |
APNSMessage.withUrl(String url)
The URL to open in the user's mobile browser.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DirectMessageConfiguration.setAPNSMessage(APNSMessage aPNSMessage)
The message to APNS channels.
|
DirectMessageConfiguration |
DirectMessageConfiguration.withAPNSMessage(APNSMessage aPNSMessage)
The message to APNS channels.
|
Copyright © 2018. All rights reserved.