|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectdanger.net.tpns.Notification
public abstract class Notification
A Notification is received by the client from a partner via the
Third Party Notification Server (TPNS). A Notification is delivered
to the client as the argument in the callback Event supplied by the client
during the SubscriptionManager.subscribe()
call.
Please Note: These APIs are part of a new device-service protocol being implemented for applications.
While these APIs exist in the device OS and are available for future planning purposes, please be aware that the service-side support for these APIs may or may not be in production at this time. Third parties wishing to deploy these APIs in an application are encouraged to contact Danger for implementation requirements.
SubscriptionManager| Method Summary | |
|---|---|
abstract byte[] |
getBinaryMessage()
EXPERIMENTAL Experimental APIs are APIs that are early-stage and not yet finalized or fully qualified. In future releases, these APIs may be changed in incompatible ways, replaced or even removed completely without warning. For these reasons, Danger will not publish applications that use any experimental APIs.Returns the notification as an array of bytes. |
String |
getSubscriptionID()
EXPERIMENTAL Experimental APIs are APIs that are early-stage and not yet finalized or fully qualified. In future releases, these APIs may be changed in incompatible ways, replaced or even removed completely without warning. For these reasons, Danger will not publish applications that use any experimental APIs.Returns the subscription ID of the TPNS subscription that this notification is being delivered for. |
abstract String |
getTextMessage()
EXPERIMENTAL Experimental APIs are APIs that are early-stage and not yet finalized or fully qualified. In future releases, these APIs may be changed in incompatible ways, replaced or even removed completely without warning. For these reasons, Danger will not publish applications that use any experimental APIs.Returns the notification message as a text string. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public String getSubscriptionID()
public abstract String getTextMessage()
public abstract byte[] getBinaryMessage()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||