public abstract class BaseLoaderCallback extends java.lang.Object implements LoaderCallbackInterface
INCOMPATIBLE_MANAGER_VERSION, INIT_FAILED, INSTALL_CANCELED, MARKET_ERROR, SUCCESS
Constructor and Description |
---|
BaseLoaderCallback(android.content.Context AppContext) |
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.
|
public void onManagerConnected(int status)
LoaderCallbackInterface
onManagerConnected
in interface LoaderCallbackInterface
status
- status of initialization (see initialization status constants).public void onPackageInstall(int operation, InstallCallbackInterface callback)
LoaderCallbackInterface
onPackageInstall
in interface LoaderCallbackInterface
callback
- answer object with approve and cancel methods and the package description.