pl.wendigo.chrome.api.backgroundservice / BackgroundServiceEvent

BackgroundServiceEvent

data class BackgroundServiceEvent (source)

Link
BackgroundService#BackgroundServiceEvent type documentation.

Constructors

<init>

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

Properties

eventMetadata

val eventMetadata: List<EventMetadata>

A list of event-specific information.

eventName

val eventName: String

A description of the event.

instanceId

val instanceId: String

An identifier that groups related events together.

origin

val origin: String

The origin this event belongs to.

service

val service: ServiceName

The Background Service this event belongs to.

serviceWorkerRegistrationId

val serviceWorkerRegistrationId: RegistrationID

The Service Worker ID that initiated the event.

timestamp

val timestamp: TimeSinceEpoch

Timestamp of the event (in seconds).