public class NotificationMessage
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
int |
badgeCount |
java.lang.String |
body |
java.lang.String |
deviceId |
java.lang.String |
deviceType |
java.lang.String |
image |
java.lang.String |
joExtraData |
com.ibm.json.java.JSONObject |
jsonPayload |
java.lang.String |
message |
java.lang.String |
subtitle |
java.lang.String |
title |
java.lang.String |
url |
UserInfo |
userInfo |
Constructor and Description |
---|
NotificationMessage(java.lang.String message) |
NotificationMessage(java.lang.String message,
java.lang.Object jsonPayload,
java.lang.String url) |
NotificationMessage(java.lang.String message,
java.lang.String title,
java.lang.String subtitle,
java.lang.Object jsonPayload,
java.lang.String url) |
NotificationMessage(java.lang.String message,
java.lang.String title,
java.lang.String subtitle,
java.lang.Object jsonPayload,
java.lang.String url,
java.lang.String deviceId) |
Modifier and Type | Method and Description |
---|---|
int |
getBadgeCount() |
java.lang.String |
getBody() |
java.lang.String |
getDeviceId() |
java.lang.String |
getExtraData() |
java.lang.String |
getImage() |
java.lang.String |
getMessage() |
java.lang.String |
getMessageURL() |
com.ibm.json.java.JSONObject |
getPayload() |
java.lang.String |
getTitle() |
void |
setBadgeCount(int badge) |
void |
setBody(java.lang.String body) |
void |
setDeviceId(java.lang.String deviceId) |
void |
setExtraData(java.lang.String joStr) |
void |
setImage(java.lang.String image) |
void |
setPayload(java.lang.Object jsonPayload) |
void |
setTitle(java.lang.String title) |
public java.lang.String message
public java.lang.String title
public java.lang.String subtitle
public com.ibm.json.java.JSONObject jsonPayload
public java.lang.String url
public UserInfo userInfo
public java.lang.String deviceType
public java.lang.String image
public java.lang.String deviceId
public java.lang.String body
public java.lang.String joExtraData
public int badgeCount
public NotificationMessage(java.lang.String message, java.lang.String title, java.lang.String subtitle, java.lang.Object jsonPayload, java.lang.String url)
public NotificationMessage(java.lang.String message, java.lang.String title, java.lang.String subtitle, java.lang.Object jsonPayload, java.lang.String url, java.lang.String deviceId)
public NotificationMessage(java.lang.String message, java.lang.Object jsonPayload, java.lang.String url)
public NotificationMessage(java.lang.String message)
public java.lang.String getMessage()
public java.lang.String getMessageURL()
public void setImage(java.lang.String image)
public void setDeviceId(java.lang.String deviceId)
public java.lang.String getDeviceId()
public void setPayload(java.lang.Object jsonPayload)
public com.ibm.json.java.JSONObject getPayload()
public java.lang.String getTitle()
public void setTitle(java.lang.String title)
public java.lang.String getBody()
public void setBody(java.lang.String body)
public java.lang.String getImage()
public void setExtraData(java.lang.String joStr)
public java.lang.String getExtraData()
public void setBadgeCount(int badge)
public int getBadgeCount()