public final class IOSDevicePayload extends PushModelObject implements DevicePayloadOverride
Modifier and Type | Class and Description |
---|---|
static class |
IOSDevicePayload.Builder |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.util.Optional<Actions> |
getActions()
Get the Actions.
|
java.util.Optional<java.lang.String> |
getAlert()
Get the alert if present.
|
java.util.Optional<IOSAlertData> |
getAlertData()
Get the IOSAlertData
|
java.util.Optional<IOSBadgeData> |
getBadge()
Get IOSBadgeData
|
java.util.Optional<java.lang.String> |
getCategory()
Get the category if present
|
java.util.Optional<java.lang.String> |
getCollapseId()
Get the Collapse ID String.
|
java.util.Optional<java.lang.Boolean> |
getContentAvailable()
Get the content available boolean value
|
DeviceType |
getDeviceType()
Get the deviceType.
|
java.util.Optional<PushExpiry> |
getExpiry()
Get the expiry (TTL) if present
|
java.util.Optional<<any>> |
getExtra()
Get a Map of the extra key value pairs
|
java.util.Optional<Interactive> |
getInteractive()
Get the Interactive data if present
|
java.util.Optional<IOSInterruptionLevel> |
getIosInterruptionLevel()
Get the interruption level.
|
java.util.Optional<IOSLiveActivity> |
getIosLiveActivity()
Get the IOSLiveActivity if present.
|
java.util.Optional<IOSTemplate> |
getIosTemplate()
Get the template with iOS-specific message.
|
java.util.Optional<MediaAttachment> |
getMediaAttachment()
Get the Media Attachment object that specifies a media attachment to be
handled by the UA Media Attachment Extension. iOS 10
|
java.util.Optional<java.lang.Boolean> |
getMutableContent()
Get the mutable content boolean value
|
java.util.Optional<java.lang.Integer> |
getPriority()
Get the priority value
|
java.util.Optional<java.lang.Double> |
getRelevanceScore()
Get the relevance score for iOS message.
|
java.util.Optional<java.lang.String> |
getSound()
Deprecated.
The sound name can now be retrieved from getSoundData() as of 4.1.0.
Gets the sound file name.
|
java.util.Optional<IOSSoundData> |
getSoundData()
Get the IOSSoundData if present.
|
java.util.Optional<java.lang.String> |
getSubtitle()
Get the subtitle if present
|
java.util.Optional<java.lang.String> |
getTargetContentId()
Get the target content id.
|
java.util.Optional<java.lang.String> |
getThreadId()
Get the thread ID.
|
java.util.Optional<java.lang.String> |
getTitle()
Get the title if present.
|
int |
hashCode() |
static IOSDevicePayload.Builder |
newBuilder()
Get a IOSDevicePayload Builder
|
java.lang.String |
toString() |
toJSON
toJSON
public static IOSDevicePayload.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<IOSAlertData> getAlertData()
public java.util.Optional<IOSBadgeData> getBadge()
public java.util.Optional<java.lang.Boolean> getContentAvailable()
public java.util.Optional<<any>> getExtra()
public java.util.Optional<PushExpiry> getExpiry()
public java.util.Optional<java.lang.Integer> getPriority()
public java.util.Optional<java.lang.String> getCategory()
public java.util.Optional<Interactive> getInteractive()
public java.util.Optional<java.lang.String> getTitle()
public java.util.Optional<java.lang.String> getSubtitle()
public java.util.Optional<java.lang.Boolean> getMutableContent()
public java.util.Optional<MediaAttachment> getMediaAttachment()
public java.util.Optional<IOSSoundData> getSoundData()
@Deprecated public java.util.Optional<java.lang.String> getSound()
public java.util.Optional<java.lang.String> getCollapseId()
public java.util.Optional<java.lang.String> getThreadId()
public java.util.Optional<Actions> getActions()
public java.util.Optional<java.lang.String> getTargetContentId()
public java.util.Optional<IOSTemplate> getIosTemplate()
public java.util.Optional<IOSInterruptionLevel> getIosInterruptionLevel()
public java.util.Optional<java.lang.Double> getRelevanceScore()
public java.util.Optional<IOSLiveActivity> getIosLiveActivity()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object