public final class ADMDevicePayload extends PushModelObject implements DevicePayloadOverride
Modifier and Type | Class and Description |
---|---|
static class |
ADMDevicePayload.Builder |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Optional<Actions> |
getActions()
Get the Actions.
|
Optional<String> |
getAlert() |
Optional<String> |
getConsolidationKey() |
DeviceType |
getDeviceType() |
Optional<PushExpiry> |
getExpiresAfter() |
Optional<com.google.common.collect.ImmutableMap<String,String>> |
getExtra() |
Optional<String> |
getIcon()
Get the string representing an image file included in the application’s resources.
|
Optional<String> |
getIconColor()
Get the string representing the icon color in API Color Format.
|
Optional<Interactive> |
getInteractive() |
Optional<String> |
getNotificationChannel()
Get the string representing a notification channel.
|
Optional<String> |
getNotificationTag()
Get the string representing a notification tag.
|
Optional<String> |
getSound()
Get the string representing a sound file name included in the application’s resources.
|
Optional<Style> |
getStyle()
Get the style.
|
Optional<String> |
getSummary()
Get the string representing a summary/subtitle of the notification.
|
Optional<ADMTemplate> |
getTemplate()
Get the template with amazon-specific message.
|
Optional<String> |
getTitle()
Get the string representing the title of the notification.
|
int |
hashCode() |
static ADMDevicePayload.Builder |
newBuilder() |
toJSON
toJSON
public static ADMDevicePayload.Builder newBuilder()
public DeviceType getDeviceType()
getDeviceType
in interface DevicePayloadOverride
public Optional<String> getAlert()
getAlert
in interface DevicePayloadOverride
public Optional<PushExpiry> getExpiresAfter()
public Optional<Interactive> getInteractive()
public Optional<Actions> getActions()
public Optional<String> getIcon()
public Optional<String> getIconColor()
public Optional<String> getNotificationChannel()
public Optional<String> getNotificationTag()
public Optional<String> getSound()
public Optional<String> getSummary()
public Optional<String> getTitle()
public Optional<Style> getStyle()
public Optional<ADMTemplate> getTemplate()
Copyright © 2025. All rights reserved.