Expand description
Defines events for background web platform features.
Structs§
- Background
Service Event - Background
Service Event Builder - Clear
Events Params - Clears all stored data for the service. clearEvents
- Clear
Events Params Builder - Clear
Events Returns - Clears all stored data for the service. clearEvents
- Event
Background Service Event Received - Called with all existing backgroundServiceEvents when enabled, and all new events afterwards if enabled and recording. backgroundServiceEventReceived
- Event
Metadata - A key-value pair for additional event information to pass along. EventMetadata
- Event
Metadata Builder - Event
Recording State Changed - Called when the recording state for the service has been updated. recordingStateChanged
- SetRecording
Params - Set the recording state for the service. setRecording
- SetRecording
Params Builder - SetRecording
Returns - Set the recording state for the service. setRecording
- Start
Observing Params - Enables event updates for the service. startObserving
- Start
Observing Params Builder - Start
Observing Returns - Enables event updates for the service. startObserving
- Stop
Observing Params - Disables event updates for the service. stopObserving
- Stop
Observing Params Builder - Stop
Observing Returns - Disables event updates for the service. stopObserving
Enums§
- Service
Name - The Background Service that will be associated with the commands/events. Every Background Service operates independently, but they share the same API.