Interface ProgressStartedListener


@Contract public interface ProgressStartedListener
Instances of classes implementing this contract can be registered with HK2 to be informed when the system starts progressing to a new level, either upward or downward

Lengthy operations should not be performed in the listener since that may impact the performance of the RunLevelController calling the listener

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onProgressStarting(ChangeableRunLevelFuture currentJob, int currentLevel)
    Called when the RunLevelController starts progressing to a new level but before any work has been done yet