BackgroundServiceDomain

Defines events for background web platform features.

Official doc

Functions

Link copied to clipboard

Called with all existing backgroundServiceEvents when enabled, and all new events afterwards if enabled and recording.

Link copied to clipboard

Clears all stored data for the service.

Link copied to clipboard

Subscribes to all events related to this domain.

Link copied to clipboard

Called when the recording state for the service has been updated.

Link copied to clipboard
suspend fun setRecording(shouldRecord: Boolean, service: ServiceName): SetRecordingResponse

Set the recording state for the service.

Link copied to clipboard

Enables event updates for the service.

Link copied to clipboard

Disables event updates for the service.