Interface BackgroundActivity


  • public interface BackgroundActivity
    Your task should implement this interface if it should be runnable via BackgroundTaskManager
    See Also:
    BackgroundTaskManager
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void runIt​(ActivityProgress progressIndicator)
      Actual background process, to be implemented by user The process should call methods of progressIndicator to indicate its current status.
    • Method Detail

      • runIt

        void runIt​(ActivityProgress progressIndicator)
        Actual background process, to be implemented by user The process should call methods of progressIndicator to indicate its current status.
        Parameters:
        progressIndicator - the context of the process, should be used to specify progress, textual status, and check whether the process should be cancelled