chrome-devtools-kotlin / org.hildan.chrome.devtools.domains.backgroundservice / BackgroundServiceEvent

BackgroundServiceEvent

data class BackgroundServiceEvent

Constructors

<init>

BackgroundServiceEvent(timestamp: TimeSinceEpoch, origin: String, serviceWorkerRegistrationId: RegistrationID, service: ServiceName, eventName: String, instanceId: String, eventMetadata: List<EventMetadata>)

Properties

eventMetadata

A list of event-specific information.

val eventMetadata: List<EventMetadata>

eventName

A description of the event.

val eventName: String

instanceId

An identifier that groups related events together.

val instanceId: String

origin

The origin this event belongs to.

val origin: String

service

The Background Service this event belongs to.

val service: ServiceName

serviceWorkerRegistrationId

The Service Worker ID that initiated the event.

val serviceWorkerRegistrationId: RegistrationID

timestamp

Timestamp of the event (in seconds).

val timestamp: TimeSinceEpoch