Package

org.scalajs.dom.experimental

push

Permalink

package push

The Push API is currently specified here: http://www.w3.org/TR/2015/WD-push-api-20151215/

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. push
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Type Members

  1. sealed trait PushEncryptionKeyName extends Any

    Permalink

    This represents a JavaScript enumeration representing the various keys you an request from a PushSubscription as described here: http://www.w3.org/TR/push-api/#idl-def-PushEncryptionKeyName

    This represents a JavaScript enumeration representing the various keys you an request from a PushSubscription as described here: http://www.w3.org/TR/push-api/#idl-def-PushEncryptionKeyName

    Annotations
    @RawJSType() @native()
  2. trait PushEvent extends ExtendableEvent

    Permalink

    The PushEvent interface of the Push API represents a push message that has been received.

    The PushEvent interface of the Push API represents a push message that has been received. This event is sent to the global scope of a ServiceWorker. It contains the information sent from an application server to a PushSubscription.

    MDN

    Annotations
    @RawJSType() @native()
  3. trait PushManager extends Object

    Permalink

    The PushManager interface of the Push API provides a way to receive notifications from third-party servers as well as request URLs for push notifications.

    The PushManager interface of the Push API provides a way to receive notifications from third-party servers as well as request URLs for push notifications.

    This interface is accessed via the ServiceWorkerRegistration.pushManager property.

    MDN

    The Push API is currently specified here: http://www.w3.org/TR/2015/WD-push-api-20151215/

    Annotations
    @RawJSType() @native()
  4. trait PushMessageData extends Object

    Permalink

    The PushMessageData interface of the Push API provides methods which let you retrieve the push data sent by a server in various formats.

    The PushMessageData interface of the Push API provides methods which let you retrieve the push data sent by a server in various formats.

    Unlike the similar methods in the Fetch API, which only allow the method to be invoked once, these methods can be called multiple times.

    MDN

    Annotations
    @RawJSType() @native()
  5. sealed trait PushPermissionState extends Any

    Permalink

    This represents a JavaScript enumeration describing the state of permissions for pushing described here: http://www.w3.org/TR/push-api/#idl-def-PushPermissionState

    This represents a JavaScript enumeration describing the state of permissions for pushing described here: http://www.w3.org/TR/push-api/#idl-def-PushPermissionState

    Annotations
    @RawJSType() @native()
  6. trait PushServiceWorkerGlobalScope extends Any

    Permalink

    A trait used for patching Push API support onto ServiceWorkerGlobalScope.

    A trait used for patching Push API support onto ServiceWorkerGlobalScope.

    Annotations
    @RawJSType() @native()
  7. trait PushServiceWorkerRegistration extends Any

    Permalink

    A trait used for patching Push API support onto ServiceWorkerRegistration.

    A trait used for patching Push API support onto ServiceWorkerRegistration.

    Annotations
    @RawJSType() @native()
  8. trait PushSubscription extends Object

    Permalink

    The PushSubscription interface of the Push API provides a subcription's URL endpoint and allows unsubscription from a push service.

    The PushSubscription interface of the Push API provides a subcription's URL endpoint and allows unsubscription from a push service.

    An instance of this interface can be serialized.

    MDN

    Annotations
    @RawJSType() @native()
  9. trait PushSubscriptionOptions extends Object

    Permalink

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

    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.

    Annotations
    @RawJSType() @native()

Value Members

  1. object PushEncryptionKeyName

    Permalink

    Static definitions for PushEncryptionKeyName

  2. object PushPermissionState

    Permalink

    Static definitions for PushPermissionState

  3. object PushSubscriptionOptions

    Permalink

    Factory for PushSubscriptionOptions objects.

  4. implicit def pushServiceWorkerGlobalScope(swgs: ServiceWorkerGlobalScope): PushServiceWorkerGlobalScope

    Permalink

    Implicit function for patching Push API support onto ServiceWorkerGlobalScope

  5. implicit def pushServiceWorkerRegistration(swr: ServiceWorkerRegistration): PushServiceWorkerRegistration

    Permalink

    Implicit function for patching Push API support onto ServiceWorkerRegistration.

Inherited from AnyRef

Inherited from Any

Ungrouped