public class FCMNotificationMessage
extends java.lang.Object
Constructor and Description |
---|
FCMNotificationMessage(NotificationMessage notificationMessage) |
Modifier and Type | Method and Description |
---|---|
com.ibm.json.java.JSONObject |
getAndroidConfig() |
com.ibm.json.java.JSONObject |
getApnsObject() |
com.ibm.json.java.JSONObject |
getDataObject() |
com.ibm.json.java.JSONObject |
getMessageObject() |
void |
setBody() |
void |
setimage() |
void |
setNotificationObject(java.lang.String title) |
void |
setNotificationObject(java.lang.String title,
java.lang.String body) |
void |
setNotificationObject(java.lang.String title,
java.lang.String body,
java.lang.String image) |
void |
setSound() |
void |
setTitle() |
void |
setToken() |
void |
setToken(java.lang.String token) |
public FCMNotificationMessage(NotificationMessage notificationMessage)
public void setNotificationObject(java.lang.String title) throws MXException
MXException
public void setNotificationObject(java.lang.String title, java.lang.String body) throws MXException
MXException
public void setNotificationObject(java.lang.String title, java.lang.String body, java.lang.String image) throws MXException
MXException
public void setToken(java.lang.String token) throws MXException
MXException
public void setTitle() throws MXException
MXException
public void setBody() throws MXException
MXException
public void setSound() throws MXException
MXException
public void setToken() throws MXException
MXException
public void setimage() throws MXException
MXException
public com.ibm.json.java.JSONObject getMessageObject()
public com.ibm.json.java.JSONObject getDataObject()
public com.ibm.json.java.JSONObject getAndroidConfig() throws MXException
MXException
public com.ibm.json.java.JSONObject getApnsObject()