com.netmera.mobile
Class NetmeraPush
java.lang.Object
com.netmera.mobile.BasePush
com.netmera.mobile.NetmeraPush
public class NetmeraPush
- extends BasePush
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();
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NetmeraPush
public NetmeraPush()
setSendToAndroid
public void setSendToAndroid(boolean sendToAndroid)
setSendToIos
public void setSendToIos(boolean sendToIOS)
sendNotification
public void sendNotification()
throws NetmeraException
- Sends notification to IOS and Android devices.
- Specified by:
sendNotification
in class BasePush
- Throws:
NetmeraException