com.netmera.mobile
Class NetmeraPush

java.lang.Object
  extended by com.netmera.mobile.BasePush
      extended by 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();


Nested Class Summary
 
Nested classes/interfaces inherited from class com.netmera.mobile.BasePush
BasePush.PushChannel
 
Constructor Summary
NetmeraPush()
           
 
Method Summary
 void sendNotification()
          Sends notification to IOS and Android devices.
 void setSendToAndroid(boolean sendToAndroid)
           
 void setSendToIos(boolean sendToIOS)
           
 
Methods inherited from class com.netmera.mobile.BasePush
getDeviceGroups, getMessage, sendRichPushGroups, setBoxPush, setCirclePush, setDeviceGroup, setDeviceGroups, setMessage
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NetmeraPush

public NetmeraPush()
Method Detail

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