removePushNotificationListener()

Removes a listener that gets added for a push notification. This method is only available in API version 26.0 or later.

For more information on push notifications, see Methods for Push Notifications.

NameTypeDescription
callbackfunctionA function called when the removal of the push notification listener completes.

This method is asynchronous so it returns its response in an object in a callback method.

NameTypeDescription
successbooleantrue if removing the push notification listener was successful; false if removing the push notification listener wasn’t successful.