OpenCV 2.4.6

org.opencv.android
Interface LoaderCallbackInterface

All Known Implementing Classes:
BaseLoaderCallback

public interface LoaderCallbackInterface

Interface for callback object in case of asynchronous initialization of OpenCV.


Field Summary
static int INCOMPATIBLE_MANAGER_VERSION
          This version of OpenCV Manager Service is incompatible with the app.
static int INIT_FAILED
          OpenCV library initialization has failed.
static int INSTALL_CANCELED
          OpenCV library installation has been canceled by the user.
static int MARKET_ERROR
          Google Play Market cannot be invoked.
static int SUCCESS
          OpenCV initialization finished successfully.
 
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.
 

Field Detail

INCOMPATIBLE_MANAGER_VERSION

static final int INCOMPATIBLE_MANAGER_VERSION
This version of OpenCV Manager Service is incompatible with the app. Possibly, a service update is required.

See Also:
Constant Field Values

INIT_FAILED

static final int INIT_FAILED
OpenCV library initialization has failed.

See Also:
Constant Field Values

INSTALL_CANCELED

static final int INSTALL_CANCELED
OpenCV library installation has been canceled by the user.

See Also:
Constant Field Values

MARKET_ERROR

static final int MARKET_ERROR
Google Play Market cannot be invoked.

See Also:
Constant Field Values

SUCCESS

static final int SUCCESS
OpenCV initialization finished successfully.

See Also:
Constant Field Values
Method Detail

onManagerConnected

void onManagerConnected(int status)
Callback method, called after OpenCV library initialization.

Parameters:
status - status of initialization (see initialization status constants).

onPackageInstall

void onPackageInstall(int operation,
                      InstallCallbackInterface callback)
Callback method, called in case the package installation is needed.

Parameters:
callback - answer object with approve and cancel methods and the package description.

OpenCV 2.4.6 Documentation