提交 4d6730dc 编写于 作者: V Vsevolod Glumov

Improved javadoc comments. Minor formatting fix.

上级 633a8bfa
......@@ -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)
......
......@@ -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);
}
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册