unsubscribe
Unsubscribe from given scope, ending that subscription for the user.
Arguments
scope
- The scope for the channel to remove
Returns
Returns a boolean. Boolean is False if the subscription was already terminated in the past.
Errors
Returns an error in the following cases:
An error occurred sending an unsubscribe request to the autopush server
An error occurred accessing the PushManager's persisted storage