Class Veery
unregisterNotification(String subscription)
Cancels the call to registerNotification.
Parameters
Param name | Type | Usage and Possible values |
---|---|---|
subscription | String | Name of the subscription to a notification (push) feed |
Returns
void
Usage / Example
String notificationHello = "{\"data\": {\"your_custom_data_key1\": \"your_custom_data_value1\"},\"notification\": { \"title\": \"VEERY Hello\",\"body\": \"Vous avez demandé une notification Hello chaque minute. En général c'est juste pour tester\"}}"; veery.registerNotification(Veery.NOTIF_HELLO, notificationHello); // ... veery.unregisterNotification(Veery.NOTIF_HELLO);
User interaction
No more notification (of the specified subscription) will be sent any more.
See also
registerNotification
Enable a notification for a specified geo-predictive event.
unregisterNotification
Disable notifications for a specified geo-predictive event.