Package io.webfolder.cdp.command
Interface BackgroundServiceAsync
public interface BackgroundServiceAsync
Defines events for background web platform features.
-
Method Summary
Modifier and TypeMethodDescriptionclearEvents
(ServiceName service) Clears all stored data for the service.setRecording
(Boolean shouldRecord, ServiceName service) Set the recording state for the service.startObserving
(ServiceName service) Enables event updates for the service.stopObserving
(ServiceName service) Disables event updates for the service.
-
Method Details
-
clearEvents
Clears all stored data for the service. -
setRecording
Set the recording state for the service. -
startObserving
Enables event updates for the service. -
stopObserving
Disables event updates for the service.
-