Improved javadoc comments. Minor formatting fix.

This commit is contained in:
Vsevolod Glumov 2012-08-28 18:51:34 +04:00
parent 633a8bfacc
commit 4d6730dc68
2 changed files with 6 additions and 6 deletions

View File

@ -14,7 +14,7 @@ public class OpenCVLoader
/**
* Loads and initializes OpenCV library from current application package. Roughly, it's an analog of system.loadLibrary("opencv_java").
* @return returns true is initialization of OpenCV was successful.
* @return Returns true is initialization of OpenCV was successful.
*/
public static boolean initDebug()
{
@ -26,7 +26,7 @@ public class OpenCVLoader
* @param Version OpenCV library version.
* @param AppContext application context for connecting to the service.
* @param Callback object, that implements LoaderCallbackInterface for handling the connection status.
* @return returns true if initialization of OpenCV is successful.
* @return Returns true if initialization of OpenCV is successful.
*/
public static boolean initAsync(String Version, Context AppContext,
LoaderCallbackInterface Callback)

View File

@ -6,28 +6,28 @@ package org.opencv.engine;
interface OpenCVEngineInterface
{
/**
* @return returns service version.
* @return Returns service version.
*/
int getEngineVersion();
/**
* Finds an installed OpenCV library.
* @param OpenCV version.
* @return returns path to OpenCV native libs or an empty string if OpenCV can not be found.
* @return Returns path to OpenCV native libs or an empty string if OpenCV can not be found.
*/
String getLibPathByVersion(String version);
/**
* Tries to install defined version of OpenCV from Google Play Market.
* @param OpenCV version.
* @return returns true if installation was successful or OpenCV package has been already installed.
* @return Returns true if installation was successful or OpenCV package has been already installed.
*/
boolean installVersion(String version);
/**
* Returns list of libraries in loading order, separated by semicolon.
* @param OpenCV version.
* @return returns names of OpenCV libraries, separated by semicolon.
* @return Returns names of OpenCV libraries, separated by semicolon.
*/
String getLibraryList(String version);
}