OpenCV 2.4.8

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.


Field Summary
 
Fields inherited from interface org.opencv.android.LoaderCallbackInterface
INCOMPATIBLE_MANAGER_VERSION, INIT_FAILED, INSTALL_CANCELED, MARKET_ERROR, SUCCESS
 
Constructor Summary
BaseLoaderCallback(Context AppContext)
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseLoaderCallback

public BaseLoaderCallback(Context AppContext)
Method Detail

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.

OpenCV 2.4.8 Documentation