|
OpenCV 2.4.3 (RC) | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.opencv.android.BaseLoaderCallback
public abstract class BaseLoaderCallback
Basic implementation of LoaderCallbackInterface.
Field Summary | |
---|---|
protected Context |
mAppContext
|
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 |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Context mAppContext
Constructor Detail |
---|
public BaseLoaderCallback(Context AppContext)
Method Detail |
---|
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.
|
Official OpenCV 2.4 Documentation | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |