BackgroundServiceEvent

@Serializable
data class BackgroundServiceEvent(val timestamp: Double, val origin: String, val serviceWorkerRegistrationId: String, val service: BackgroundService.ServiceName, val eventName: String, val instanceId: String, val eventMetadata: List<BackgroundService.EventMetadata>, val storageKey: String)

Constructors

Link copied to clipboard
constructor(timestamp: Double, origin: String, serviceWorkerRegistrationId: String, service: BackgroundService.ServiceName, eventName: String, instanceId: String, eventMetadata: List<BackgroundService.EventMetadata>, storageKey: String)

Properties

Link copied to clipboard

A list of event-specific information.

Link copied to clipboard

A description of the event.

Link copied to clipboard

An identifier that groups related events together.

Link copied to clipboard

The origin this event belongs to.

Link copied to clipboard

The Background Service this event belongs to.

Link copied to clipboard

The Service Worker ID that initiated the event.

Link copied to clipboard

Storage key this event belongs to.

Link copied to clipboard

Timestamp of the event (in seconds).