org.opencv.android
Class BaseLoaderCallback
java.lang.Object
extended by org.opencv.android.BaseLoaderCallback
- All Implemented Interfaces:
- LoaderCallbackInterface
public abstract class BaseLoaderCallback
- extends java.lang.Object
- implements LoaderCallbackInterface
Basic implementation of LoaderCallbackInterface.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BaseLoaderCallback
public BaseLoaderCallback(android.content.Context AppContext)
onManagerConnected
public void onManagerConnected(int status)
- Description copied from interface:
LoaderCallbackInterface
- Callback method, called after OpenCV library initialization.
- Specified by:
onManagerConnected
in interface LoaderCallbackInterface
- Parameters:
status
- status of initialization (see initialization status constants).
onPackageInstall
public void onPackageInstall(int operation,
InstallCallbackInterface callback)
- Description copied from interface:
LoaderCallbackInterface
- Callback method, called in case the package installation is needed.
- Specified by:
onPackageInstall
in interface LoaderCallbackInterface
callback
- answer object with approve and cancel methods and the package description.