public interface AppInstallListener
Modifier and Type | Method and Description |
---|---|
void |
updateStatus(AppInstallStage status,
int percentageOrError)
Called with the current status of the install.
|
void updateStatus(AppInstallStage status, int percentageOrError)
status
- current status of the install, must be one of
AppInstallStage.IS_DOWNLOADING_DESCRIPTOR
,
AppInstallStage.IS_DOWNLOADING_BODY
,
AppInstallStage.IS_DOWNLOADING_DATA
,
AppInstallStage.IS_STORING
,
AppInstallStage.IS_VERIFYING
, or
AppInstallStage.IS_DONE
percentageOrError
- the result of installation (while 0 means no
error, see InstallErrorCodes
for details
of other error codes) for first parameter being
AppInstallStage.IS_DONE
;
current percentage state of the installation otherwiseCopyright (c) 2013, Oracle and/or its affiliates. All Rights Reserved. Use of this specification is subject to license terms.