|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.netmera.mobile.BasePush
com.netmera.mobile.NetmeraPush
NetmeraPushObject
to create push notifications. After
preparing, use NetmeraPushSender
to send this
notification. NetmeraPush class is used to send push
notifications into devices from your application.
NetmeraClient("your_api_key");
NetmeraPush push = new NetmeraPush();
push.setSendToIos(true);
push.setSendToAndroid(true);
push.setMessage("This is the message that will be sent as a notification");
push.sendNotification();
public class NetmeraPush
Constructor Summary | |
---|---|
NetmeraPush()
Deprecated. |
Method Summary | |
---|---|
void |
sendNotification()
Deprecated. use NetmeraPushObject to create push notifications.
After preparing, use NetmeraPushSender to send this
notification. Sends notification to IOS and Android devices. |
void |
setSendToAndroid(boolean sendToAndroid)
Deprecated. use NetmeraPushObject to create push notifications.
After preparing, use NetmeraPushSender to send this
notification. |
void |
setSendToIos(boolean sendToIOS)
Deprecated. use NetmeraPushObject to create push notifications.
After preparing, use NetmeraPushSender to send this
notification. |
Methods inherited from class com.netmera.mobile.BasePush |
---|
addDeviceGroup, getDeviceGroups, getMessage, getParameter, setBoxPush, setCirclePush, setDeviceGroup, setDeviceGroups, setMessage, setParameter |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NetmeraPush()
Method Detail |
---|
public void setSendToAndroid(boolean sendToAndroid)
NetmeraPushObject
to create push notifications.
After preparing, use NetmeraPushSender
to send this
notification.
sendToAndroid
- public void setSendToIos(boolean sendToIOS)
NetmeraPushObject
to create push notifications.
After preparing, use NetmeraPushSender
to send this
notification.
sendToIOS
- public void sendNotification() throws NetmeraException
NetmeraPushObject
to create push notifications.
After preparing, use NetmeraPushSender
to send this
notification. Sends notification to IOS and Android devices.
sendNotification
in class BasePush
NetmeraException
- if no platform is chosen. You should set either sendToAndroid
or sendToIos to true.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |