forked from I2P_Developers/i2p.i2p
Added isUpdateInProgress() to UpdaterManager interface.
This commit is contained in:
@ -145,6 +145,12 @@ public interface UpdateManager {
|
|||||||
*/
|
*/
|
||||||
public String checkAvailable(UpdateType type, String id, long maxWait);
|
public String checkAvailable(UpdateType type, String id, long maxWait);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Is any download in progress?
|
||||||
|
* Does not include checks.
|
||||||
|
*/
|
||||||
|
public boolean isUpdateInProgress();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Non-blocking. Does not check.
|
* Non-blocking. Does not check.
|
||||||
* Fails if check or update already in progress.
|
* Fails if check or update already in progress.
|
||||||
|
Reference in New Issue
Block a user