Interface BackgroundService

  • All Known Implementing Classes:

    public interface BackgroundService
    Defines events for background web platform features
    • Method Detail

      • startObserving

        void startObserving​(ServiceName service)
        Enables event updates for the service.
      • stopObserving

        void stopObserving​(ServiceName service)
        Disables event updates for the service.
      • setRecording

        void setRecording​(java.lang.Boolean shouldRecord,
                          ServiceName service)
        Set the recording state for the service.
      • clearEvents

        void clearEvents​(ServiceName service)
        Clears all stored data for the service.