public class APNs extends Object implements Serializable
| Constructor and Description |
|---|
APNs() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAction()
Returns the value of the 'action' key from the submitted payload.
|
String |
getActionCategory()
Returns the value of the 'action-category', which is used on the client (iOS for now),
to invoke a certain "user action" on the device, based on the push message.
|
String[] |
getLocalizedArguments() |
String |
getLocalizedKey() |
String[] |
getLocalizedTitleArguments()
Sets the arguments for the localizable title key
|
String |
getLocalizedTitleKey()
The key to a title string in the Localizable.strings file for the current localization.
|
String |
getTitle()
Returns the value of the 'title' key from the submitted payload.
|
String[] |
getUrlArgs()
Returns the value of the 'url-args' key from the submitted payload.
|
boolean |
hasMutableContent()
Returns the value of the 'mutable-content' key from the submitted payload.
|
boolean |
isContentAvailable()
Used for in iOS specific feature, to indicate if content (for Newsstand or silent messages) has marked as
being available
Not supported on other platforms.
|
void |
setAction(String action) |
void |
setActionCategory(String actionCategory) |
void |
setContentAvailable(boolean contentAvailable) |
void |
setLocalizedArguments(String[] localizedArguments) |
void |
setLocalizedKey(String localizedKey) |
void |
setLocalizedTitleArguments(String[] localizedTitleArguments) |
void |
setLocalizedTitleKey(String localizedTitleKey) |
void |
setMutableContent(boolean mutableContent) |
void |
setTitle(String title) |
void |
setUrlArgs(String[] urlArgs) |
public String getActionCategory()
public void setActionCategory(String actionCategory)
public String getTitle()
public void setTitle(String title)
public String getAction()
public void setAction(String action)
public boolean isContentAvailable()
public void setContentAvailable(boolean contentAvailable)
public boolean hasMutableContent()
public void setMutableContent(boolean mutableContent)
public String[] getUrlArgs()
public void setUrlArgs(String[] urlArgs)
public String getLocalizedTitleKey()
public void setLocalizedTitleKey(String localizedTitleKey)
public String[] getLocalizedTitleArguments()
public void setLocalizedTitleArguments(String[] localizedTitleArguments)
public String getLocalizedKey()
public void setLocalizedKey(String localizedKey)
public String[] getLocalizedArguments()
public void setLocalizedArguments(String[] localizedArguments)
Copyright © 2019 JBoss by Red Hat. All rights reserved.