opencv/android/service/doc/InstallCallbackInterface.rst

39 lines
755 B
ReStructuredText
Raw Normal View History

2012-06-21 16:50:05 +02:00
**************************
Install Callback Interface
**************************
.. highlight:: java
.. class:: InstallCallbackInterface
Callback interface for package installation or update.
String getPackageName()
-----------------------
.. method:: String getPackageName()
Get name of a package to be installed.
2012-06-21 16:50:05 +02:00
:rtype: string;
:return: returns package name, i.e. "OpenCV Manager Service" or "OpenCV library".
2012-06-21 16:50:05 +02:00
void install()
--------------
.. method:: void install()
Installation of package has been approved.
2012-06-21 16:50:05 +02:00
void cancel()
-------------
.. method:: void cancel()
Installation if package has been canceled.
void wait_install()
-------------------
.. method:: void wait_install()
Wait for package installation.