Interface ExecutingTask.TaskLifecycleHandler

  • Enclosing class:
    ExecutingTask

    public static interface ExecutingTask.TaskLifecycleHandler
    • Method Detail

      • onStart

        void onStart()
        Whenever the task execution begins.
      • onProgress

        void onProgress​(String message)
        When progress is made on the task.
      • onFailure

        void onFailure​(Exception e)
        On failure.
      • onSuccess

        void onSuccess()
        On successful completion.
      • onComplete

        void onComplete()
        On completion, regardless of failure.