Please note, this is a STATIC archive of website developer.mozilla.org from November 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

PushRegistrationManager

Este artigo necessita de uma revisão técnica. Como posso ajudar.

Nossos voluntários ainda não traduziram este artigo para o Português (do Brasil) . Junte-se a nós e ajude a fazer o trabalho!

Deprecated
This feature has been removed from the Web standards. Though some browsers may still support it, it is in the process of being dropped. Do not use it in old or new projects. Pages or Web apps using it may break at any time.

Returns an interface to register or unregister a push registration, get an active registration, or check the permission status of the registration. This interface has been superceded by PushManager.

Methods

PushRegistrationManager.register()
Returns a promise that resolves to a PushRegistration with details of a new registration.
PushRegistrationManager.unregister()
Returns a promise that resolves to a PushRegistration with details of the unregistered registration.
PushRegistrationManager.getRegistration()
Returns a promise that resolves the PushRegistration associated with the current webapp.
PushRegistrationManager.hasPermission()
Returns a promise that resolves to the PushPermissionStatus of the requesting webapp.

Specifications

Specification Status Comment
Push API
The definition of 'PushRegistrationManager' in that specification.
Working Draft Initial definition

Browser Compatibility

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support 42.0 ? ? ? ?
Feature Android Firefox Mobile (Gecko) Firefox OS IE Mobile Opera Mobile Safari Mobile Chrome for Android
Basic support ? ? ? ? ? ? 42.0

Etiquetas do documento e colaboradores

 Colaboradores desta página: Sebastianz, jpmedley, kscarfone
 Última atualização por: Sebastianz,