mirror of
https://github.com/opencv/opencv.git
synced 2024-12-15 09:49:13 +08:00
9ab19691d4
Diagram rendering script updated.
39 lines
755 B
ReStructuredText
39 lines
755 B
ReStructuredText
**************************
|
|
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.
|
|
|
|
:rtype: string;
|
|
:return: returns package name, i.e. "OpenCV Manager Service" or "OpenCV library".
|
|
|
|
void install()
|
|
--------------
|
|
|
|
.. method:: void install()
|
|
|
|
Installation of package has been approved.
|
|
|
|
void cancel()
|
|
-------------
|
|
|
|
.. method:: void cancel()
|
|
|
|
Installation if package has been canceled.
|
|
|
|
void wait_install()
|
|
-------------------
|
|
|
|
.. method:: void wait_install()
|
|
|
|
Wait for package installation.
|