Table of Contents

Class BackgroundFetchEvent

Namespace
CSharpToJavaScript.APIs.JS
Assembly
CSharpToJavaScript.dll
NOTE
Experimental
The BackgroundFetchEvent interface of the {{domxref('Background Fetch API', "", "", "nocode")}} is the event type for background fetch events dispatched on the {{domxref("ServiceWorkerGlobalScope", "service worker global scope", "", "nocode")}}.
[Value("BackgroundFetchEvent")]
public class BackgroundFetchEvent : ExtendableEvent
Inheritance
BackgroundFetchEvent
Derived
Inherited Members

Remarks

It is the event type passed to ServiceWorkerGlobalScopebackgroundfetchclick event and ServiceWorkerGlobalScopebackgroundfetchabort event.

See also on MDN

Constructors

BackgroundFetchEvent()

public BackgroundFetchEvent()

BackgroundFetchEvent(string, BackgroundFetchEventInit)

NOTE
Experimental
The BackgroundFetchEvent() constructor creates a new BackgroundFetchEvent object. This constructor is not typically used as the browser creates these objects itself and provides them to background fetch event callbacks.
public BackgroundFetchEvent(string type, BackgroundFetchEventInit init)

Parameters

type string
init BackgroundFetchEventInit

Remarks

Properties

Registration

NOTE
Experimental
The registration read-only property of the BackgroundFetchEvent interface returns a BackgroundFetchRegistration object.
[Value("registration")]
public BackgroundFetchRegistration Registration { get; }

Property Value

BackgroundFetchRegistration

A BackgroundFetchRegistration.

Remarks