chromiumoxide::cdp::browser_protocol

Module background_service

Source
Expand description

Defines events for background web platform features.

Structs§

BackgroundServiceEvent
BackgroundServiceEventBuilder
ClearEventsParams
Clears all stored data for the service. clearEvents
ClearEventsParamsBuilder
ClearEventsReturns
Clears all stored data for the service. clearEvents
EventBackgroundServiceEventReceived
Called with all existing backgroundServiceEvents when enabled, and all new events afterwards if enabled and recording. backgroundServiceEventReceived
EventMetadata
A key-value pair for additional event information to pass along. EventMetadata
EventMetadataBuilder
EventRecordingStateChanged
Called when the recording state for the service has been updated. recordingStateChanged
SetRecordingParams
Set the recording state for the service. setRecording
SetRecordingParamsBuilder
SetRecordingReturns
Set the recording state for the service. setRecording
StartObservingParams
Enables event updates for the service. startObserving
StartObservingParamsBuilder
StartObservingReturns
Enables event updates for the service. startObserving
StopObservingParams
Disables event updates for the service. stopObserving
StopObservingParamsBuilder
StopObservingReturns
Disables event updates for the service. stopObserving

Enums§

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