public interface Saver
Modifier and Type | Method and Description |
---|---|
void |
onAddedSubscription(String topicPath,
String destination,
Context context)
News from the Push Notification Bridge that a new subscription has been put in place.
|
void |
onRemovedSubscription(String topicPath,
String destination,
Context context)
News from the Push Notification Bridge that a subscription has been removed.
|
void |
onReplacedSubscription(String topicPath,
String oldDestination,
String newDestination,
Context context)
News from the Push Notification Bridge that a destination has been replaced with another.
|
void |
setLoader(Loader loader)
Set the
Loader property. |
void onAddedSubscription(String topicPath, String destination, Context context)
topicPath
- Topic path of the new subscriptiondestination
- push notification network destination, e.g.
apns://QUJDREVGR0hJSktMTU5PUFFSU1RVVldYWVphYmNkZWY=
context
- the cause of the deletionvoid onRemovedSubscription(String topicPath, String destination, Context context)
topicPath
- Topic path of the removed subscriptiondestination
- push notification network destination, e.g.
apns://QUJDREVGR0hJSktMTU5PUFFSU1RVVldYWVphYmNkZWY=
context
- the cause of the deletionvoid onReplacedSubscription(String topicPath, String oldDestination, String newDestination, Context context)
Driven only by feedback from the push notification network.
topicPath
- Topic path of the updated subscriptionoldDestination
- the previous value of the destinationnewDestination
- the new value of the destinationcontext
- the cause of the replacementCopyright © 2016 Push Technology Ltd. All Rights Reserved.