public class TunePushMessage extends Object
Modifier and Type | Field and Description |
---|---|
static String |
TUNE_EXTRA_MESSAGE |
Constructor and Description |
---|
TunePushMessage(android.os.Bundle extras,
String appName) |
TunePushMessage(String jsonString) |
Modifier and Type | Method and Description |
---|---|
String |
getAlertMessage() |
String |
getAppId() |
TuneCampaign |
getCampaign() |
String |
getExpandedText() |
String |
getExpandedTitle() |
android.graphics.Bitmap |
getImage() |
String |
getMessageIdentifier() |
TunePushPayload |
getPayload() |
String |
getStyle() |
String |
getSummary() |
String |
getTicker() |
String |
getTitle() |
int |
getTunePushIdAsInt()
The notification ID should be unique for the app, otherwise a new notifications is going to replace the old one in the notification area.
|
boolean |
isAutoCancelNotification() |
boolean |
isOpenActionDeepAction() |
boolean |
isOpenActionDeepLink() |
boolean |
isTestMessage() |
String |
toJson() |
public static final String TUNE_EXTRA_MESSAGE
public TunePushMessage(String jsonString) throws org.json.JSONException
org.json.JSONException
public boolean isOpenActionDeepAction()
public boolean isOpenActionDeepLink()
public boolean isAutoCancelNotification()
public boolean isTestMessage()
public String getAlertMessage()
public TunePushPayload getPayload()
public TuneCampaign getCampaign()
public String getTicker()
public String getTitle()
public String getAppId()
public int getTunePushIdAsInt()
public String getMessageIdentifier()
public String getStyle()
public android.graphics.Bitmap getImage()
public String getExpandedTitle()
public String getExpandedText()
public String getSummary()
public String toJson()