A PushAdmin object.
Activates the device for push notifications. Subsequently registers the device with Ably and stores the deviceIdentityToken in local storage.
Optional
registerCallback: RegisterCallback
A function passed to override the default implementation to register the local device for push activation.
Optional
updateFailedCallback: ErrorCallback
A callback to be invoked when the device registration failed to update.
Deactivates the device from receiving push notifications.
A function passed to override the default implementation to deregister the local device for push activation.
Generated using TypeDoc
Enables a device to be registered and deregistered from receiving push notifications.