@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="PushEvent")
public class PushEvent
extends ExtendableEvent
AT_TARGET, BUBBLING_PHASE, cancelBubble, CAPTURING_PHASE, NONE, returnValue| Constructor and Description |
|---|
PushEvent(java.lang.String type)
The PushEvent() constructor creates a new PushEvent object.
|
PushEvent(java.lang.String type,
PushEventInit eventInitDict)
The PushEvent() constructor creates a new PushEvent object.
|
| Modifier and Type | Method and Description |
|---|---|
PushMessageData |
data()
The data read-only property of the PushEvent interface returns a reference to a PushMessageData object containing data sent to the PushSubscription.
|
waitUntilbubbles, cancelable, composed, composedPath, currentTarget, defaultPrevented, eventPhase, initEvent, initEvent, initEvent, isTrusted, preventDefault, srcElement, stopImmediatePropagation, stopPropagation, target, timeStamp, typeassign, create, create, defineProperties, defineProperty, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyDescriptor, getOwnPropertyDescriptors, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwnProperty, hasOwnProperty, is, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, seal, setPrototypeOf, toString_, valueOf_, valuespublic PushEvent(@Nonnull
java.lang.String type,
@Nonnull
PushEventInit eventInitDict)
public PushEvent(@Nonnull
java.lang.String type)
@JsProperty(name="data") @Nullable public PushMessageData data()