public interface LoaderCallbackInterface
Modifier and Type | Field and Description |
---|---|
static int |
INCOMPATIBLE_MANAGER_VERSION
This version of OpenCV Manager Service is incompatible with the app.
|
static int |
INIT_FAILED
OpenCV library initialization has failed.
|
static int |
INSTALL_CANCELED
OpenCV library installation has been canceled by the user.
|
static int |
MARKET_ERROR
Google Play Market cannot be invoked.
|
static int |
SUCCESS
OpenCV initialization finished successfully.
|
Modifier and Type | Method and Description |
---|---|
void |
onManagerConnected(int status)
Callback method, called after OpenCV library initialization.
|
void |
onPackageInstall(int operation,
InstallCallbackInterface callback)
Callback method, called in case the package installation is needed.
|
static final int SUCCESS
static final int MARKET_ERROR
static final int INSTALL_CANCELED
static final int INCOMPATIBLE_MANAGER_VERSION
static final int INIT_FAILED
void onManagerConnected(int status)
status
- status of initialization (see initialization status constants).void onPackageInstall(int operation, InstallCallbackInterface callback)
callback
- answer object with approve and cancel methods and the package description.Copyright © 2020. All rights reserved.