pl.wendigo.chrome.api.backgroundservice

Package pl.wendigo.chrome.api.backgroundservice

Contains DevTools Protocol BackgroundService domain implementation accessible via BackgroundServiceOperations class.

Types

BackgroundServiceEvent

data class BackgroundServiceEvent

BackgroundServiceEventReceivedEvent

data class BackgroundServiceEventReceivedEvent : Event

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

BackgroundServiceOperations

class BackgroundServiceOperations

Defines events for background web platform features.

ClearEventsRequest

data class ClearEventsRequest

Represents request frame that can be used with BackgroundService#clearEvents operation call.

EventMetadata

data class EventMetadata

A key-value pair for additional event information to pass along.

RecordingStateChangedEvent

data class RecordingStateChangedEvent : Event

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

ServiceName

enum class ServiceName

The Background Service that will be associated with the commands/events. Every Background Service operates independently, but they share the same API.

SetRecordingRequest

data class SetRecordingRequest

Represents request frame that can be used with BackgroundService#setRecording operation call.

StartObservingRequest

data class StartObservingRequest

Represents request frame that can be used with BackgroundService#startObserving operation call.

StopObservingRequest

data class StopObservingRequest

Represents request frame that can be used with BackgroundService#stopObserving operation call.