Results 1 - 5 of 5

PushManager.hasPermission()

The PushManager.hasPermission() method of the PushManager interface returns a Promise that resolves to the PushPermissionStatus of the requesting webapp, which will be one of granted, denied, or default.
API Deprecated Method PushManager Reference

ServiceWorkerRegistration.pushManager

The pushManager property of the ServiceWorkerRegistration interface returns a reference to the PushManager interface for managing push subscriptions; this includes support for subscribing, getting an active subscription, and accessing push permission status.
API Property Push PushManager Reference Service Workers ServiceWorkerRegistration