|
OpenCV 2.4.2 | |||||||
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 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 |
---|
protected Activity mAppContext
Constructor Detail |
---|
public BaseLoaderCallback(Activity AppContext)
Method Detail |
---|
public void onManagerConnected(int status)
LoaderCallbackInterface
onManagerConnected
in interface LoaderCallbackInterface
status
- Status of initialization. See Initialization status constantspublic void onPackageInstall(InstallCallbackInterface callback)
LoaderCallbackInterface
onPackageInstall
in interface LoaderCallbackInterface
callback
- Answer object with approve and cancel methods and package description
|
Official OpenCV 2.4 Documentation | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |