StoredServiceWorkerRegistration Class
A service worker registration (https://w3c.github.io/ServiceWorker/#dfn-service-worker-registration) stored by a ServiceWorkerBackend.
public sealed class StoredServiceWorkerRegistrationConstructors
| Name | Description |
|---|---|
| StoredServiceWorkerRegistration() |
StoredServiceWorkerRegistration()
ServiceWorkerBackend.cs- Obsolete: Constructors of types with required members are not supported in this version of your compiler.
[Obsolete("Constructors of types with required members are not supported in this version of your compiler.", true)]
public StoredServiceWorkerRegistration()No documentation is available.
Properties
| Name | Description |
|---|---|
| Active | Gets the activated service worker, or null. |
| LastUpdateCheckTime | Gets the time of the last update check (https://w3c.github.io/ServiceWorker/#dfn-last-update-check-time), or null. |
| NavigationPreloadEnabled | Gets whether the navigation preload is enabled (https://w3c.github.io/ServiceWorker/#service-worker-registration-navigation-preload-enabled-flag). |
| NavigationPreloadHeaderValue | Gets the value of the Service-Worker-Navigation-Preload header (https://w3c.github.io/ServiceWorker/#service-worker-registration-navigation-preload-header-value). |
| ScopeUrl | Gets the serialized scope URL (https://w3c.github.io/ServiceWorker/#dfn-scope-url). |
| UpdateViaCache | Gets the update via cache mode: imports, all or none (https://w3c.github.io/ServiceWorker/#dfn-update-via-cache). |
| Waiting | Gets the installed service worker that waits to be activated, or null. |
Active
ServiceWorkerBackend.csGets the activated service worker, or null.
public StoredServiceWorker? Active { get; init; }Property value
LastUpdateCheckTime
ServiceWorkerBackend.csGets the time of the last update check (https://w3c.github.io/ServiceWorker/#dfn-last-update-check-time), or null.
public DateTimeOffset? LastUpdateCheckTime { get; init; }Property value
ScopeUrl
ServiceWorkerBackend.csUpdateViaCache
ServiceWorkerBackend.csWaiting
ServiceWorkerBackend.csGets the installed service worker that waits to be activated, or null.
public StoredServiceWorker? Waiting { get; init; }