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
TimestampTimeSinceEpochTimestamp of the event (in seconds).
OriginstringThe origin this event belongs to.
ServiceWorkerRegistrationIdRegistrationIDThe Service Worker ID that initiated the event.
ServiceServiceNameThe Background Service this event belongs to.
EventNamestringA description of the event.
InstanceIdstringAn identifier that groups related events together.
EventMetadataImmutableArray<EventMetadata>A list of event-specific information.
StorageKeystringStorage key this event belongs to.
Properties
EventMetadata
A list of event-specific information.
public ImmutableArray<EventMetadata> EventMetadata { get; init; }
Property Value
EventName
A description of the event.
public string EventName { get; init; }
Property Value
InstanceId
An identifier that groups related events together.
public string InstanceId { get; init; }
Property Value
Origin
The origin this event belongs to.
public string Origin { get; init; }
Property Value
Service
The Background Service this event belongs to.
public ServiceName Service { get; init; }
Property Value
ServiceWorkerRegistrationId
The Service Worker ID that initiated the event.
public RegistrationID ServiceWorkerRegistrationId { get; init; }
Property Value
StorageKey
Storage key this event belongs to.
public string StorageKey { get; init; }
Property Value
Timestamp
Timestamp of the event (in seconds).
public TimeSinceEpoch Timestamp { get; init; }