LoaderCallbackInterface.html 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <!-- NewPage -->
  3. <html lang="en">
  4. <head>
  5. <!-- Generated by javadoc (1.8.0_65) on Fri Dec 18 18:19:50 MSK 2015 -->
  6. <title>LoaderCallbackInterface</title>
  7. <meta name="date" content="2015-12-18">
  8. <link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
  9. <script type="text/javascript" src="../../../script.js"></script>
  10. </head>
  11. <body>
  12. <script type="text/javascript"><!--
  13. try {
  14. if (location.href.indexOf('is-external=true') == -1) {
  15. parent.document.title="LoaderCallbackInterface";
  16. }
  17. }
  18. catch(err) {
  19. }
  20. //-->
  21. var methods = {"i0":6,"i1":6};
  22. var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]};
  23. var altColor = "altColor";
  24. var rowColor = "rowColor";
  25. var tableTab = "tableTab";
  26. var activeTableTab = "activeTableTab";
  27. </script>
  28. <noscript>
  29. <div>JavaScript is disabled on your browser.</div>
  30. </noscript>
  31. <!-- ========= START OF TOP NAVBAR ======= -->
  32. <div class="topNav"><a name="navbar.top">
  33. <!-- -->
  34. </a>
  35. <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
  36. <a name="navbar.top.firstrow">
  37. <!-- -->
  38. </a>
  39. <ul class="navList" title="Navigation">
  40. <li><a href="../../../overview-summary.html">Overview</a></li>
  41. <li><a href="package-summary.html">Package</a></li>
  42. <li class="navBarCell1Rev">Class</li>
  43. <li><a href="package-tree.html">Tree</a></li>
  44. <li><a href="../../../index-all.html">Index</a></li>
  45. <li><a href="../../../help-doc.html">Help</a></li>
  46. </ul>
  47. <div class="aboutLanguage">OpenCV 3.1.0</div>
  48. </div>
  49. <div class="subNav">
  50. <ul class="navList">
  51. <li><a href="../../../org/opencv/android/JavaCameraView.JavaCameraSizeAccessor.html" title="class in org.opencv.android"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
  52. <li><a href="../../../org/opencv/android/OpenCVLoader.html" title="class in org.opencv.android"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
  53. </ul>
  54. <ul class="navList">
  55. <li><a href="../../../index.html?org/opencv/android/LoaderCallbackInterface.html" target="_top">Frames</a></li>
  56. <li><a href="LoaderCallbackInterface.html" target="_top">No&nbsp;Frames</a></li>
  57. </ul>
  58. <ul class="navList" id="allclasses_navbar_top">
  59. <li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
  60. </ul>
  61. <div>
  62. <script type="text/javascript"><!--
  63. allClassesLink = document.getElementById("allclasses_navbar_top");
  64. if(window==top) {
  65. allClassesLink.style.display = "block";
  66. }
  67. else {
  68. allClassesLink.style.display = "none";
  69. }
  70. //-->
  71. </script>
  72. </div>
  73. <div>
  74. <ul class="subNavList">
  75. <li>Summary:&nbsp;</li>
  76. <li>Nested&nbsp;|&nbsp;</li>
  77. <li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
  78. <li>Constr&nbsp;|&nbsp;</li>
  79. <li><a href="#method.summary">Method</a></li>
  80. </ul>
  81. <ul class="subNavList">
  82. <li>Detail:&nbsp;</li>
  83. <li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
  84. <li>Constr&nbsp;|&nbsp;</li>
  85. <li><a href="#method.detail">Method</a></li>
  86. </ul>
  87. </div>
  88. <a name="skip.navbar.top">
  89. <!-- -->
  90. </a></div>
  91. <!-- ========= END OF TOP NAVBAR ========= -->
  92. <!-- ======== START OF CLASS DATA ======== -->
  93. <div class="header">
  94. <div class="subTitle">org.opencv.android</div>
  95. <h2 title="Interface LoaderCallbackInterface" class="title">Interface LoaderCallbackInterface</h2>
  96. </div>
  97. <div class="contentContainer">
  98. <div class="description">
  99. <ul class="blockList">
  100. <li class="blockList">
  101. <dl>
  102. <dt>All Known Implementing Classes:</dt>
  103. <dd><a href="../../../org/opencv/android/BaseLoaderCallback.html" title="class in org.opencv.android">BaseLoaderCallback</a></dd>
  104. </dl>
  105. <hr>
  106. <br>
  107. <pre>public interface <span class="typeNameLabel">LoaderCallbackInterface</span></pre>
  108. <div class="block">Interface for callback object in case of asynchronous initialization of OpenCV.</div>
  109. </li>
  110. </ul>
  111. </div>
  112. <div class="summary">
  113. <ul class="blockList">
  114. <li class="blockList">
  115. <!-- =========== FIELD SUMMARY =========== -->
  116. <ul class="blockList">
  117. <li class="blockList"><a name="field.summary">
  118. <!-- -->
  119. </a>
  120. <h3>Field Summary</h3>
  121. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
  122. <caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
  123. <tr>
  124. <th class="colFirst" scope="col">Modifier and Type</th>
  125. <th class="colLast" scope="col">Field and Description</th>
  126. </tr>
  127. <tr class="altColor">
  128. <td class="colFirst"><code>static int</code></td>
  129. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/android/LoaderCallbackInterface.html#INCOMPATIBLE_MANAGER_VERSION">INCOMPATIBLE_MANAGER_VERSION</a></span></code>
  130. <div class="block">This version of OpenCV Manager Service is incompatible with the app.</div>
  131. </td>
  132. </tr>
  133. <tr class="rowColor">
  134. <td class="colFirst"><code>static int</code></td>
  135. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/android/LoaderCallbackInterface.html#INIT_FAILED">INIT_FAILED</a></span></code>
  136. <div class="block">OpenCV library initialization has failed.</div>
  137. </td>
  138. </tr>
  139. <tr class="altColor">
  140. <td class="colFirst"><code>static int</code></td>
  141. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/android/LoaderCallbackInterface.html#INSTALL_CANCELED">INSTALL_CANCELED</a></span></code>
  142. <div class="block">OpenCV library installation has been canceled by the user.</div>
  143. </td>
  144. </tr>
  145. <tr class="rowColor">
  146. <td class="colFirst"><code>static int</code></td>
  147. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/android/LoaderCallbackInterface.html#MARKET_ERROR">MARKET_ERROR</a></span></code>
  148. <div class="block">Google Play Market cannot be invoked.</div>
  149. </td>
  150. </tr>
  151. <tr class="altColor">
  152. <td class="colFirst"><code>static int</code></td>
  153. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/android/LoaderCallbackInterface.html#SUCCESS">SUCCESS</a></span></code>
  154. <div class="block">OpenCV initialization finished successfully.</div>
  155. </td>
  156. </tr>
  157. </table>
  158. </li>
  159. </ul>
  160. <!-- ========== METHOD SUMMARY =========== -->
  161. <ul class="blockList">
  162. <li class="blockList"><a name="method.summary">
  163. <!-- -->
  164. </a>
  165. <h3>Method Summary</h3>
  166. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
  167. <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
  168. <tr>
  169. <th class="colFirst" scope="col">Modifier and Type</th>
  170. <th class="colLast" scope="col">Method and Description</th>
  171. </tr>
  172. <tr id="i0" class="altColor">
  173. <td class="colFirst"><code>void</code></td>
  174. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/android/LoaderCallbackInterface.html#onManagerConnected-int-">onManagerConnected</a></span>(int&nbsp;status)</code>
  175. <div class="block">Callback method, called after OpenCV library initialization.</div>
  176. </td>
  177. </tr>
  178. <tr id="i1" class="rowColor">
  179. <td class="colFirst"><code>void</code></td>
  180. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/android/LoaderCallbackInterface.html#onPackageInstall-int-org.opencv.android.InstallCallbackInterface-">onPackageInstall</a></span>(int&nbsp;operation,
  181. <a href="../../../org/opencv/android/InstallCallbackInterface.html" title="interface in org.opencv.android">InstallCallbackInterface</a>&nbsp;callback)</code>
  182. <div class="block">Callback method, called in case the package installation is needed.</div>
  183. </td>
  184. </tr>
  185. </table>
  186. </li>
  187. </ul>
  188. </li>
  189. </ul>
  190. </div>
  191. <div class="details">
  192. <ul class="blockList">
  193. <li class="blockList">
  194. <!-- ============ FIELD DETAIL =========== -->
  195. <ul class="blockList">
  196. <li class="blockList"><a name="field.detail">
  197. <!-- -->
  198. </a>
  199. <h3>Field Detail</h3>
  200. <a name="INCOMPATIBLE_MANAGER_VERSION">
  201. <!-- -->
  202. </a>
  203. <ul class="blockList">
  204. <li class="blockList">
  205. <h4>INCOMPATIBLE_MANAGER_VERSION</h4>
  206. <pre>static final&nbsp;int INCOMPATIBLE_MANAGER_VERSION</pre>
  207. <div class="block">This version of OpenCV Manager Service is incompatible with the app. Possibly, a service update is required.</div>
  208. <dl>
  209. <dt><span class="seeLabel">See Also:</span></dt>
  210. <dd><a href="../../../constant-values.html#org.opencv.android.LoaderCallbackInterface.INCOMPATIBLE_MANAGER_VERSION">Constant Field Values</a></dd>
  211. </dl>
  212. </li>
  213. </ul>
  214. <a name="INIT_FAILED">
  215. <!-- -->
  216. </a>
  217. <ul class="blockList">
  218. <li class="blockList">
  219. <h4>INIT_FAILED</h4>
  220. <pre>static final&nbsp;int INIT_FAILED</pre>
  221. <div class="block">OpenCV library initialization has failed.</div>
  222. <dl>
  223. <dt><span class="seeLabel">See Also:</span></dt>
  224. <dd><a href="../../../constant-values.html#org.opencv.android.LoaderCallbackInterface.INIT_FAILED">Constant Field Values</a></dd>
  225. </dl>
  226. </li>
  227. </ul>
  228. <a name="INSTALL_CANCELED">
  229. <!-- -->
  230. </a>
  231. <ul class="blockList">
  232. <li class="blockList">
  233. <h4>INSTALL_CANCELED</h4>
  234. <pre>static final&nbsp;int INSTALL_CANCELED</pre>
  235. <div class="block">OpenCV library installation has been canceled by the user.</div>
  236. <dl>
  237. <dt><span class="seeLabel">See Also:</span></dt>
  238. <dd><a href="../../../constant-values.html#org.opencv.android.LoaderCallbackInterface.INSTALL_CANCELED">Constant Field Values</a></dd>
  239. </dl>
  240. </li>
  241. </ul>
  242. <a name="MARKET_ERROR">
  243. <!-- -->
  244. </a>
  245. <ul class="blockList">
  246. <li class="blockList">
  247. <h4>MARKET_ERROR</h4>
  248. <pre>static final&nbsp;int MARKET_ERROR</pre>
  249. <div class="block">Google Play Market cannot be invoked.</div>
  250. <dl>
  251. <dt><span class="seeLabel">See Also:</span></dt>
  252. <dd><a href="../../../constant-values.html#org.opencv.android.LoaderCallbackInterface.MARKET_ERROR">Constant Field Values</a></dd>
  253. </dl>
  254. </li>
  255. </ul>
  256. <a name="SUCCESS">
  257. <!-- -->
  258. </a>
  259. <ul class="blockListLast">
  260. <li class="blockList">
  261. <h4>SUCCESS</h4>
  262. <pre>static final&nbsp;int SUCCESS</pre>
  263. <div class="block">OpenCV initialization finished successfully.</div>
  264. <dl>
  265. <dt><span class="seeLabel">See Also:</span></dt>
  266. <dd><a href="../../../constant-values.html#org.opencv.android.LoaderCallbackInterface.SUCCESS">Constant Field Values</a></dd>
  267. </dl>
  268. </li>
  269. </ul>
  270. </li>
  271. </ul>
  272. <!-- ============ METHOD DETAIL ========== -->
  273. <ul class="blockList">
  274. <li class="blockList"><a name="method.detail">
  275. <!-- -->
  276. </a>
  277. <h3>Method Detail</h3>
  278. <a name="onManagerConnected-int-">
  279. <!-- -->
  280. </a>
  281. <ul class="blockList">
  282. <li class="blockList">
  283. <h4>onManagerConnected</h4>
  284. <pre>void&nbsp;onManagerConnected(int&nbsp;status)</pre>
  285. <div class="block">Callback method, called after OpenCV library initialization.</div>
  286. <dl>
  287. <dt><span class="paramLabel">Parameters:</span></dt>
  288. <dd><code>status</code> - status of initialization (see initialization status constants).</dd>
  289. </dl>
  290. </li>
  291. </ul>
  292. <a name="onPackageInstall-int-org.opencv.android.InstallCallbackInterface-">
  293. <!-- -->
  294. </a>
  295. <ul class="blockListLast">
  296. <li class="blockList">
  297. <h4>onPackageInstall</h4>
  298. <pre>void&nbsp;onPackageInstall(int&nbsp;operation,
  299. <a href="../../../org/opencv/android/InstallCallbackInterface.html" title="interface in org.opencv.android">InstallCallbackInterface</a>&nbsp;callback)</pre>
  300. <div class="block">Callback method, called in case the package installation is needed.</div>
  301. <dl>
  302. <dt><span class="paramLabel">Parameters:</span></dt>
  303. <dd><code>callback</code> - answer object with approve and cancel methods and the package description.</dd>
  304. </dl>
  305. </li>
  306. </ul>
  307. </li>
  308. </ul>
  309. </li>
  310. </ul>
  311. </div>
  312. </div>
  313. <!-- ========= END OF CLASS DATA ========= -->
  314. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  315. <div class="bottomNav"><a name="navbar.bottom">
  316. <!-- -->
  317. </a>
  318. <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
  319. <a name="navbar.bottom.firstrow">
  320. <!-- -->
  321. </a>
  322. <ul class="navList" title="Navigation">
  323. <li><a href="../../../overview-summary.html">Overview</a></li>
  324. <li><a href="package-summary.html">Package</a></li>
  325. <li class="navBarCell1Rev">Class</li>
  326. <li><a href="package-tree.html">Tree</a></li>
  327. <li><a href="../../../index-all.html">Index</a></li>
  328. <li><a href="../../../help-doc.html">Help</a></li>
  329. </ul>
  330. <div class="aboutLanguage"><a href="http://docs.opencv.org">OpenCV 3.1.0 Documentation</a></div>
  331. </div>
  332. <div class="subNav">
  333. <ul class="navList">
  334. <li><a href="../../../org/opencv/android/JavaCameraView.JavaCameraSizeAccessor.html" title="class in org.opencv.android"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
  335. <li><a href="../../../org/opencv/android/OpenCVLoader.html" title="class in org.opencv.android"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
  336. </ul>
  337. <ul class="navList">
  338. <li><a href="../../../index.html?org/opencv/android/LoaderCallbackInterface.html" target="_top">Frames</a></li>
  339. <li><a href="LoaderCallbackInterface.html" target="_top">No&nbsp;Frames</a></li>
  340. </ul>
  341. <ul class="navList" id="allclasses_navbar_bottom">
  342. <li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
  343. </ul>
  344. <div>
  345. <script type="text/javascript"><!--
  346. allClassesLink = document.getElementById("allclasses_navbar_bottom");
  347. if(window==top) {
  348. allClassesLink.style.display = "block";
  349. }
  350. else {
  351. allClassesLink.style.display = "none";
  352. }
  353. //-->
  354. </script>
  355. </div>
  356. <div>
  357. <ul class="subNavList">
  358. <li>Summary:&nbsp;</li>
  359. <li>Nested&nbsp;|&nbsp;</li>
  360. <li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
  361. <li>Constr&nbsp;|&nbsp;</li>
  362. <li><a href="#method.summary">Method</a></li>
  363. </ul>
  364. <ul class="subNavList">
  365. <li>Detail:&nbsp;</li>
  366. <li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
  367. <li>Constr&nbsp;|&nbsp;</li>
  368. <li><a href="#method.detail">Method</a></li>
  369. </ul>
  370. </div>
  371. <a name="skip.navbar.bottom">
  372. <!-- -->
  373. </a></div>
  374. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  375. </body>
  376. </html>