Package-level declarations

Types

Link copied to clipboard
sealed external interface PushEncryptionKeyName
Link copied to clipboard
open external class PushEvent(val type: EventType<PushEvent>, init: PushEventInit = definedExternally) : ExtendableEvent

This Push API interface represents a push message that has been received. This event is sent to the global scope of a ServiceWorker. It contains the information sent from an application server to a PushSubscription. Available only in secure contexts.

Link copied to clipboard
external interface PushEventInit : ExtendableEventInit
Link copied to clipboard
Link copied to clipboard
sealed external class PushEventTypes_deprecated
Link copied to clipboard
sealed external class PushManager

This Push API interface provides a way to receive notifications from third-party servers as well as request URLs for push notifications. Available only in secure contexts.

Link copied to clipboard
sealed external class PushMessageData

This Push API interface provides methods which let you retrieve the push data sent by a server in various formats. Available only in secure contexts.

Link copied to clipboard
Link copied to clipboard
sealed external class PushSubscription

This Push API interface provides a subcription's URL endpoint and allows unsubscription from a push service. Available only in secure contexts.

Link copied to clipboard
external interface PushSubscriptionJSON
Link copied to clipboard
sealed external class PushSubscriptionOptions

Available only in secure contexts.

Link copied to clipboard
external interface PushSubscriptionOptionsInit