{{SeeCompatTable}}{{APIRef("Service Workers API")}}
Returns an interface to register or unregister a push registration, get an active registration, or check the permission status of the registration.
Methods
- {{domxref("PushRegistrationManager.register()")}}
- Returns a promise that resolves to a {{domxref("PushRegistration")}} with details of a new registration.
- {{domxref("PushRegistrationManager.unregister()")}}
- Returns a promise that resolves to a {{domxref("PushRegistration")}} with details of the unregistered registration.
- {{domxref("PushRegistrationManager.getRegistration()")}}
- Def
- {{domxref("PushRegistrationManager.hasPermission()")}}
- Def
-
Example
//
Specifications
text
Browser Compatibility
text