remove constant ON_NEXT_RESTART_OPPORTUNITY

This commit is contained in:
danielbasedow
2016-05-22 19:26:20 +02:00
parent 0745fe407e
commit be3a74f3b0
6 changed files with 4 additions and 11 deletions

View File

@@ -219,20 +219,17 @@ declare namespace CodePush {
function notifyAppReady(): Promise<void>;
/**
* Allow CodePush to automatically restart the app if an update is installed with
* InstallMode.ON_NEXT_RESTART_OPPORTUNITY.
* Allow CodePush to restart the app.
*/
function allowRestart(): void;
/**
* Forbid CodePush to automatically restart the app if an update is installed with
* InstallMode.ON_NEXT_RESTART_OPPORTUNITY.
* Forbid CodePush to restart the app.
*/
function disallowRestart(): void;
/**
* Check if CodePush is allowed to automatically restart the app if an update is installed
* with InstallMode.ON_NEXT_RESTART_OPPORTUNITY.
* Check if CodePush is allowed to restart the app.
*/
function restartAllowed(): boolean;