Artikel ini membutuhkan tinjauan teknikal. Bagaimana Anda bisa membantu.
Relawan kami belum menerjemahkan artikel ini ke dalam Bahasa Indonesia . Bergabunglah dan bantu kami menyelesaikan pekerjaan ini!
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 |