OpenCV 2.4.2

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
protected  Activity mAppContext
           
 
Fields inherited from interface org.opencv.android.LoaderCallbackInterface
INCOMPATIBLE_MANAGER_VERSION, INIT_FAILED, INSTALL_CANCELED, MARKET_ERROR, RESTART_REQUIRED, SUCCESS
 
Constructor Summary
BaseLoaderCallback(Activity AppContext)
           
 
Method Summary
 void onManagerConnected(int status)
          Callback method that is called after OpenCV library initialization
 void onPackageInstall(InstallCallbackInterface callback)
          Callback method that is called in case when package installation is needed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mAppContext

protected Activity mAppContext
Constructor Detail

BaseLoaderCallback

public BaseLoaderCallback(Activity AppContext)
Method Detail

onManagerConnected

public void onManagerConnected(int status)
Description copied from interface: LoaderCallbackInterface
Callback method that is called after OpenCV library initialization

Specified by:
onManagerConnected in interface LoaderCallbackInterface
Parameters:
status - Status of initialization. See Initialization status constants

onPackageInstall

public void onPackageInstall(InstallCallbackInterface callback)
Description copied from interface: LoaderCallbackInterface
Callback method that is called in case when package installation is needed

Specified by:
onPackageInstall in interface LoaderCallbackInterface
Parameters:
callback - Answer object with approve and cancel methods and package description

Official OpenCV 2.4 Documentation