36 lines
749 B
ReStructuredText
36 lines
749 B
ReStructuredText
**************************
|
|
Install Callback Interface
|
|
**************************
|
|
.. highlight:: java
|
|
.. module:: org.opencv.android
|
|
:platform: Android
|
|
:synopsis: Defines callback interface for package management.
|
|
|
|
.. 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: Return package name, i.e. "OpenCV Manager Service" or "OpenCV library"
|
|
|
|
void install()
|
|
--------------
|
|
|
|
.. method:: void install()
|
|
|
|
Installation of package is approved
|
|
|
|
void cancel()
|
|
-------------
|
|
|
|
.. method:: void cancel()
|
|
|
|
Installation if package was canceled
|