PushManager
The PushManager
interface of the Push API provides a way to receive notifications from third-party servers as well as request URLs for push notifications. Available only in secure contexts.
Functions
The PushManager.getSubscription()
method of the PushManager interface retrieves an existing push subscription.
The PushManager.getSubscription()
method of the PushManager interface retrieves an existing push subscription.
The permissionState()
method of the PushManager interface returns a Promise that resolves to a string indicating the permission state of the push manager.
The permissionState()
method of the PushManager interface returns a Promise that resolves to a string indicating the permission state of the push manager.
The subscribe()
method of the PushManager interface subscribes to a push service.
The subscribe()
method of the PushManager interface subscribes to a push service.