Table of Contents

Class BackgroundServiceEvent

Namespace
Selenium.WebDriver.BiDi.Cdp.BackgroundService
Assembly
Selenium.WebDriver.BiDi.Cdp.dll
public sealed record BackgroundServiceEvent : IEquatable<BackgroundServiceEvent>
Inheritance
BackgroundServiceEvent
Implements
Inherited Members

Constructors

BackgroundServiceEvent(TimeSinceEpoch, string, RegistrationID, ServiceName, string, string, ImmutableArray<EventMetadata>, string)

public BackgroundServiceEvent(TimeSinceEpoch Timestamp, string Origin, RegistrationID ServiceWorkerRegistrationId, ServiceName Service, string EventName, string InstanceId, ImmutableArray<EventMetadata> EventMetadata, string StorageKey)

Parameters

Timestamp TimeSinceEpoch

Timestamp of the event (in seconds).

Origin string

The origin this event belongs to.

ServiceWorkerRegistrationId RegistrationID

The Service Worker ID that initiated the event.

Service ServiceName

The Background Service this event belongs to.

EventName string

A description of the event.

InstanceId string

An identifier that groups related events together.

EventMetadata ImmutableArray<EventMetadata>

A list of event-specific information.

StorageKey string

Storage key this event belongs to.

Properties

EventMetadata

A list of event-specific information.

public ImmutableArray<EventMetadata> EventMetadata { get; init; }

Property Value

ImmutableArray<EventMetadata>

EventName

A description of the event.

public string EventName { get; init; }

Property Value

string

InstanceId

An identifier that groups related events together.

public string InstanceId { get; init; }

Property Value

string

Origin

The origin this event belongs to.

public string Origin { get; init; }

Property Value

string

Service

The Background Service this event belongs to.

public ServiceName Service { get; init; }

Property Value

ServiceName

ServiceWorkerRegistrationId

The Service Worker ID that initiated the event.

public RegistrationID ServiceWorkerRegistrationId { get; init; }

Property Value

RegistrationID

StorageKey

Storage key this event belongs to.

public string StorageKey { get; init; }

Property Value

string

Timestamp

Timestamp of the event (in seconds).

public TimeSinceEpoch Timestamp { get; init; }

Property Value

TimeSinceEpoch