PushSubscriptionOptions

The PushSubscriptionOptions interface of the Push API represents the options associated with a push subscription. Available only in secure contexts.

MDN Reference

Properties

Link copied to clipboard

The applicationServerKey read-only property of the PushSubscriptionOptions interface contains the public key used by the push server.

Link copied to clipboard

The userVisibleOnly read-only property of the PushSubscriptionOptions interface indicates if the returned push subscription will only be used for messages whose effect is made visible to the user.