Interface ProgressSubscriber
- All Known Implementing Classes:
DefaultProgressSubscriber
public interface ProgressSubscriber
-
Method Summary
Modifier and TypeMethodDescriptionvoidNotify the subscriber that its parent ChunkCoordinator has finishedvoidnotifyProgress(@NonNull ChunkCoordinator coordinator, double progress)Notify about a progress update in the coordinator
-
Method Details
-
notifyProgress
Notify about a progress update in the coordinator- Parameters:
coordinator- Coordinator instance that triggered the notificationprogress- Progress in the range [0, 1]
-
notifyEnd
void notifyEnd()Notify the subscriber that its parent ChunkCoordinator has finished
-