Interface ProgressSubscriber

All Known Implementing Classes:
DefaultProgressSubscriber

public interface ProgressSubscriber
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Notify the subscriber that its parent ChunkCoordinator has finished
    void
    notifyProgress​(@NonNull ChunkCoordinator coordinator, double progress)
    Notify about a progress update in the coordinator
  • Method Details

    • notifyProgress

      void notifyProgress(@NonNull ChunkCoordinator coordinator, double progress)
      Notify about a progress update in the coordinator
      Parameters:
      coordinator - Coordinator instance that triggered the notification
      progress - Progress in the range [0, 1]
    • notifyEnd

      void notifyEnd()
      Notify the subscriber that its parent ChunkCoordinator has finished