Skip to content

@ralphschuler.webgl shader factory.<internal>.PushSubscription

github-actions edited this page Nov 26, 2023 · 1 revision

Interface: PushSubscription

@ralphschuler/webgl-shader-factory.<internal>.PushSubscription

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

MDN Reference

Table of contents

Properties

Methods

Properties

endpoint

Readonly endpoint: string

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:17749


expirationTime

Readonly expirationTime: null | number

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:17751


options

Readonly options: PushSubscriptionOptions

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:17753

Methods

getKey

getKey(name): null | ArrayBuffer

MDN Reference

Parameters

Name Type
name PushEncryptionKeyName

Returns

null | ArrayBuffer

Defined in

node_modules/typescript/lib/lib.dom.d.ts:17755


toJSON

toJSON(): PushSubscriptionJSON

MDN Reference

Returns

PushSubscriptionJSON

Defined in

node_modules/typescript/lib/lib.dom.d.ts:17757


unsubscribe

unsubscribe(): Promise<boolean>

MDN Reference

Returns

Promise<boolean>

Defined in

node_modules/typescript/lib/lib.dom.d.ts:17759

Typescript Libraries

Modules

Namespaces

Clone this wiki locally