getKey method

The getKey() method of the PushSubscription interface returns an ArrayBuffer representing a client public key, which can then be sent to a server and used in encrypting push message data.

Implementation

external JSArrayBuffer? getKey(PushEncryptionKeyName name);