events.go 818 B

123456789101112131415161718192021
  1. package backgroundservice
  2. // Code generated by cdproto-gen. DO NOT EDIT.
  3. // EventRecordingStateChanged called when the recording state for the service
  4. // has been updated.
  5. //
  6. // See: https://chromedevtools.github.io/devtools-protocol/tot/BackgroundService#event-recordingStateChanged
  7. type EventRecordingStateChanged struct {
  8. IsRecording bool `json:"isRecording"`
  9. Service ServiceName `json:"service"`
  10. }
  11. // EventBackgroundServiceEventReceived called with all existing
  12. // backgroundServiceEvents when enabled, and all new events afterwards if
  13. // enabled and recording.
  14. //
  15. // See: https://chromedevtools.github.io/devtools-protocol/tot/BackgroundService#event-backgroundServiceEventReceived
  16. type EventBackgroundServiceEventReceived struct {
  17. BackgroundServiceEvent *Event `json:"backgroundServiceEvent"`
  18. }