PushSubscriptionOptions

@JSType
trait PushSubscriptionOptions extends Object

A PushSubscriptionOptions object represents additional options associated with a push subscription.

The userVisibleOnly option, when set to true, indicates that the push subscription will only be used for push messages whose effect is made visible to the user, for example by displaying a Web Notification.

The applicationServerKey option defines the public key your application server uses for sending messages to clients via a push server endpoint.

class Object
trait Any
class Object
trait Matchable
class Any

Value members

Inherited methods

def hasOwnProperty(v: String): Boolean
Inherited from:
Object
def isPrototypeOf(v: Object): Boolean
Inherited from:
Object
def propertyIsEnumerable(v: String): Boolean
Inherited from:
Object
def toLocaleString(): String
Inherited from:
Object
def valueOf(): Any
Inherited from:
Object

Concrete fields

@ExposedJSMember @JSOptional
var applicationServerKey: UndefOr[Uint8Array]
@ExposedJSMember @JSOptional
var userVisibleOnly: UndefOr[Boolean]