SwPushlink
Subscribe and listen to push notifications from the Service Worker.
属性
| 属性名 | 类型 | 说明 |
|---|---|---|
| messages | 只读 | |
| subscription | 只读 | |
| isEnabled | 只读 Returns true if the Service Worker is enabled (supported by the browser and enabled via ServiceWorkerModule). |
方法
参数
返回值
|
参数没有参数。 返回值
|