2012-06-21 22:50:05 +08:00
|
|
|
**************************
|
|
|
|
Install Callback Interface
|
|
|
|
**************************
|
|
|
|
.. highlight:: java
|
|
|
|
.. class:: InstallCallbackInterface
|
|
|
|
|
|
|
|
Callback interface for package installation or update.
|
|
|
|
|
|
|
|
String getPackageName()
|
|
|
|
-----------------------
|
|
|
|
|
|
|
|
.. method:: String getPackageName()
|
|
|
|
|
2012-09-14 15:10:53 +08:00
|
|
|
Get name of a package to be installed.
|
2012-06-21 22:50:05 +08:00
|
|
|
|
2012-09-14 15:10:53 +08:00
|
|
|
:rtype: string;
|
|
|
|
:return: returns package name, i.e. "OpenCV Manager Service" or "OpenCV library".
|
2012-06-21 22:50:05 +08:00
|
|
|
|
|
|
|
void install()
|
|
|
|
--------------
|
|
|
|
|
|
|
|
.. method:: void install()
|
|
|
|
|
2012-09-14 15:10:53 +08:00
|
|
|
Installation of package has been approved.
|
2012-06-21 22:50:05 +08:00
|
|
|
|
|
|
|
void cancel()
|
|
|
|
-------------
|
|
|
|
|
|
|
|
.. method:: void cancel()
|
|
|
|
|
2012-12-25 21:50:31 +08:00
|
|
|
Installation of package has been cancelled.
|
2012-10-09 14:33:26 +08:00
|
|
|
|
|
|
|
void wait_install()
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
.. method:: void wait_install()
|
|
|
|
|
|
|
|
Wait for package installation.
|