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