public final class AndroidDevicePayload extends PushModelObject implements DevicePayloadOverride
Modifier and Type | Class and Description |
---|---|
static class |
AndroidDevicePayload.Builder |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.util.Optional<Actions> |
getActions()
Get the actions object that describes Actions to be performed by the SDK when a user interacts with the notification.
|
java.util.Optional<java.lang.String> |
getAlert()
Get the alert.
|
java.util.Optional<AndroidLiveUpdate> |
getAndroidLiveUpdate()
Get the live update with android-specific message.
|
java.util.Optional<Category> |
getCategory()
Get the category specifier.
|
java.util.Optional<java.lang.String> |
getCollapseKey()
Get the collapse key.
|
java.util.Optional<java.lang.Boolean> |
getDelayWhileIdle()
Get the delay while idle flag.
|
java.util.Optional<java.lang.String> |
getDeliveryPriority()
Get the delivery priority.
|
DeviceType |
getDeviceType()
Get the device type.
|
java.util.Optional<<any>> |
getExtra()
Get an extra mapping of key-value pairs.
|
java.util.Optional<java.lang.String> |
getIcon()
Get the icon string.
|
java.util.Optional<java.lang.String> |
getIconColor()
Get the icon color string.
|
java.util.Optional<Interactive> |
getInteractive()
Get the interactive notification payload.
|
java.util.Optional<java.lang.Boolean> |
getLocalOnly()
Get the local only flag.
|
java.util.Optional<java.lang.String> |
getNotificationChannel()
Get the notification channel.
|
java.util.Optional<java.lang.String> |
getNotificationTag()
Get the notification tag.
|
java.util.Optional<java.lang.Integer> |
getPriority()
Get the priority specifier.
|
java.util.Optional<PublicNotification> |
getPublicNotification()
Get the public notification payload.
|
java.util.Optional<java.lang.String> |
getSound()
Get the sound string.
|
java.util.Optional<Style> |
getStyle()
Get the style payload.
|
java.util.Optional<java.lang.String> |
getSummary()
Get the summary string.
|
java.util.Optional<AndroidTemplate> |
getTemplate()
Get the template with android-specific message.
|
java.util.Optional<PushExpiry> |
getTimeToLive()
Get the push expiry.
|
java.util.Optional<java.lang.String> |
getTitle()
Get the title string.
|
java.util.Optional<java.lang.Integer> |
getVisibility()
Get the visibility specifier.
|
java.util.Optional<Wearable> |
getWearable()
Get the wearable payload.
|
int |
hashCode() |
static AndroidDevicePayload.Builder |
newBuilder()
New AndroidDevicePayload Builder.
|
java.lang.String |
toString() |
toJSON
toJSON
public static AndroidDevicePayload.Builder newBuilder()
public DeviceType getDeviceType()
getDeviceType
in interface DevicePayloadOverride
public java.util.Optional<java.lang.String> getAlert()
getAlert
in interface DevicePayloadOverride
public java.util.Optional<java.lang.String> getCollapseKey()
public java.util.Optional<java.lang.String> getNotificationChannel()
public java.util.Optional<java.lang.String> getNotificationTag()
public java.util.Optional<PushExpiry> getTimeToLive()
public java.util.Optional<java.lang.String> getDeliveryPriority()
public java.util.Optional<java.lang.Boolean> getDelayWhileIdle()
public java.util.Optional<<any>> getExtra()
public java.util.Optional<Interactive> getInteractive()
public java.util.Optional<java.lang.String> getTitle()
public java.util.Optional<java.lang.Boolean> getLocalOnly()
public java.util.Optional<Wearable> getWearable()
public java.util.Optional<java.lang.String> getSummary()
public java.util.Optional<Style> getStyle()
public java.util.Optional<java.lang.String> getSound()
public java.util.Optional<java.lang.String> getIcon()
public java.util.Optional<java.lang.String> getIconColor()
public java.util.Optional<java.lang.Integer> getPriority()
public java.util.Optional<Category> getCategory()
public java.util.Optional<java.lang.Integer> getVisibility()
public java.util.Optional<PublicNotification> getPublicNotification()
public java.util.Optional<Actions> getActions()
public java.util.Optional<AndroidTemplate> getTemplate()
public java.util.Optional<AndroidLiveUpdate> getAndroidLiveUpdate()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object