Overview | Package | Class | Tree | Index | Help

OpenCV 2.4.3.1
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.opencv.android
Class BaseLoaderCallback

    java.lang.Object
      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 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

### mAppContext

    protected Context mAppContext

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.

Overview | Package | Class | Tree | Index | Help

Official OpenCV 2.4 Documentation
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD