OpenCVEngineInterface.aidl 995 B

12345678910111213141516171819202122232425262728293031323334
  1. package org.opencv.engine;
  2. /**
  3. * Class provides a Java interface for OpenCV Engine Service. It's synchronous with native OpenCVEngine class.
  4. */
  5. interface OpenCVEngineInterface
  6. {
  7. /**
  8. * @return Returns service version.
  9. */
  10. int getEngineVersion();
  11. /**
  12. * Finds an installed OpenCV library.
  13. * @param OpenCV version.
  14. * @return Returns path to OpenCV native libs or an empty string if OpenCV can not be found.
  15. */
  16. String getLibPathByVersion(String version);
  17. /**
  18. * Tries to install defined version of OpenCV from Google Play Market.
  19. * @param OpenCV version.
  20. * @return Returns true if installation was successful or OpenCV package has been already installed.
  21. */
  22. boolean installVersion(String version);
  23. /**
  24. * Returns list of libraries in loading order, separated by semicolon.
  25. * @param OpenCV version.
  26. * @return Returns names of OpenCV libraries, separated by semicolon.
  27. */
  28. String getLibraryList(String version);
  29. }