Back to project page android-opencv-template.
The source code is released under:
MIT License
If you think the Android project android-opencv-template listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package org.opencv.android; //from ww w .ja v a2s . c o m /** * Interface for callback object in case of asynchronous initialization of OpenCV. */ public interface LoaderCallbackInterface { /** * OpenCV initialization finished successfully. */ static final int SUCCESS = 0; /** * Google Play Market cannot be invoked. */ static final int MARKET_ERROR = 2; /** * OpenCV library installation has been canceled by the user. */ static final int INSTALL_CANCELED = 3; /** * This version of OpenCV Manager Service is incompatible with the app. Possibly, a service update is required. */ static final int INCOMPATIBLE_MANAGER_VERSION = 4; /** * OpenCV library initialization has failed. */ static final int INIT_FAILED = 0xff; /** * Callback method, called after OpenCV library initialization. * @param status status of initialization (see initialization status constants). */ public void onManagerConnected(int status); /** * Callback method, called in case the package installation is needed. * @param callback answer object with approve and cancel methods and the package description. */ public void onPackageInstall(final int operation, InstallCallbackInterface callback); };