|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.androidpn.server.xmpp.push.NotificationManager
public class NotificationManager
This class is to manage sending the notifcations to the users.
Constructor Summary | |
---|---|
NotificationManager()
Constructor. |
Method Summary | |
---|---|
void |
sendBroadcast(java.lang.String apiKey,
java.lang.String title,
java.lang.String message,
java.lang.String uri)
Broadcasts a newly created notification message to all connected users. |
void |
sendNotifcationToUser(java.lang.String apiKey,
java.lang.String username,
java.lang.String title,
java.lang.String message,
java.lang.String uri)
Sends a newly created notification message to the specific user. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NotificationManager()
Method Detail |
---|
public void sendBroadcast(java.lang.String apiKey, java.lang.String title, java.lang.String message, java.lang.String uri)
apiKey
- the API keytitle
- the titlemessage
- the message detailsuri
- the uripublic void sendNotifcationToUser(java.lang.String apiKey, java.lang.String username, java.lang.String title, java.lang.String message, java.lang.String uri)
apiKey
- the API keytitle
- the titlemessage
- the message detailsuri
- the uri
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |