AcmDeviceActivity.html 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365
  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 (version 1.7.0_21) on Wed Sep 25 23:19:36 KST 2013 -->
  6. <title>AcmDeviceActivity</title>
  7. <meta name="date" content="2013-09-25">
  8. <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
  9. </head>
  10. <body>
  11. <script type="text/javascript"><!--
  12. if (location.href.indexOf('is-external=true') == -1) {
  13. parent.document.title="AcmDeviceActivity";
  14. }
  15. //-->
  16. </script>
  17. <noscript>
  18. <div>JavaScript is disabled on your browser.</div>
  19. </noscript>
  20. <!-- ========= START OF TOP NAVBAR ======= -->
  21. <div class="topNav"><a name="navbar_top">
  22. <!-- -->
  23. </a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
  24. <!-- -->
  25. </a>
  26. <ul class="navList" title="Navigation">
  27. <li><a href="../../../../overview-summary.html">Overview</a></li>
  28. <li><a href="package-summary.html">Package</a></li>
  29. <li class="navBarCell1Rev">Class</li>
  30. <li><a href="package-tree.html">Tree</a></li>
  31. <li><a href="../../../../deprecated-list.html">Deprecated</a></li>
  32. <li><a href="../../../../index-all.html">Index</a></li>
  33. <li><a href="../../../../help-doc.html">Help</a></li>
  34. </ul>
  35. </div>
  36. <div class="subNav">
  37. <ul class="navList">
  38. <li><a href="../../../../org/ros/android/android_acm_serial/AcmDevice.html" title="class in org.ros.android.android_acm_serial"><span class="strong">Prev Class</span></a></li>
  39. <li><a href="../../../../org/ros/android/android_acm_serial/AcmDevicePermissionCallback.html" title="interface in org.ros.android.android_acm_serial"><span class="strong">Next Class</span></a></li>
  40. </ul>
  41. <ul class="navList">
  42. <li><a href="../../../../index.html?org/ros/android/android_acm_serial/AcmDeviceActivity.html" target="_top">Frames</a></li>
  43. <li><a href="AcmDeviceActivity.html" target="_top">No Frames</a></li>
  44. </ul>
  45. <ul class="navList" id="allclasses_navbar_top">
  46. <li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
  47. </ul>
  48. <div>
  49. <script type="text/javascript"><!--
  50. allClassesLink = document.getElementById("allclasses_navbar_top");
  51. if(window==top) {
  52. allClassesLink.style.display = "block";
  53. }
  54. else {
  55. allClassesLink.style.display = "none";
  56. }
  57. //-->
  58. </script>
  59. </div>
  60. <div>
  61. <ul class="subNavList">
  62. <li>Summary:&nbsp;</li>
  63. <li>Nested&nbsp;|&nbsp;</li>
  64. <li><a href="#fields_inherited_from_class_org.ros.android.RosActivity">Field</a>&nbsp;|&nbsp;</li>
  65. <li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
  66. <li><a href="#method_summary">Method</a></li>
  67. </ul>
  68. <ul class="subNavList">
  69. <li>Detail:&nbsp;</li>
  70. <li>Field&nbsp;|&nbsp;</li>
  71. <li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
  72. <li><a href="#method_detail">Method</a></li>
  73. </ul>
  74. </div>
  75. <a name="skip-navbar_top">
  76. <!-- -->
  77. </a></div>
  78. <!-- ========= END OF TOP NAVBAR ========= -->
  79. <!-- ======== START OF CLASS DATA ======== -->
  80. <div class="header">
  81. <div class="subTitle">org.ros.android.android_acm_serial</div>
  82. <h2 title="Class AcmDeviceActivity" class="title">Class AcmDeviceActivity</h2>
  83. </div>
  84. <div class="contentContainer">
  85. <ul class="inheritance">
  86. <li>java.lang.Object</li>
  87. <li>
  88. <ul class="inheritance">
  89. <li>Activity</li>
  90. <li>
  91. <ul class="inheritance">
  92. <li><a href="../../../../org/ros/android/RosActivity.html" title="class in org.ros.android">org.ros.android.RosActivity</a></li>
  93. <li>
  94. <ul class="inheritance">
  95. <li>org.ros.android.android_acm_serial.AcmDeviceActivity</li>
  96. </ul>
  97. </li>
  98. </ul>
  99. </li>
  100. </ul>
  101. </li>
  102. </ul>
  103. <div class="description">
  104. <ul class="blockList">
  105. <li class="blockList">
  106. <dl>
  107. <dt>All Implemented Interfaces:</dt>
  108. <dd><a href="../../../../org/ros/android/android_acm_serial/AcmDevicePermissionCallback.html" title="interface in org.ros.android.android_acm_serial">AcmDevicePermissionCallback</a></dd>
  109. </dl>
  110. <hr>
  111. <br>
  112. <pre>public abstract class <span class="strong">AcmDeviceActivity</span>
  113. extends <a href="../../../../org/ros/android/RosActivity.html" title="class in org.ros.android">RosActivity</a>
  114. implements <a href="../../../../org/ros/android/android_acm_serial/AcmDevicePermissionCallback.html" title="interface in org.ros.android.android_acm_serial">AcmDevicePermissionCallback</a></pre>
  115. </li>
  116. </ul>
  117. </div>
  118. <div class="summary">
  119. <ul class="blockList">
  120. <li class="blockList">
  121. <!-- =========== FIELD SUMMARY =========== -->
  122. <ul class="blockList">
  123. <li class="blockList"><a name="field_summary">
  124. <!-- -->
  125. </a>
  126. <h3>Field Summary</h3>
  127. <ul class="blockList">
  128. <li class="blockList"><a name="fields_inherited_from_class_org.ros.android.RosActivity">
  129. <!-- -->
  130. </a>
  131. <h3>Fields inherited from class&nbsp;org.ros.android.<a href="../../../../org/ros/android/RosActivity.html" title="class in org.ros.android">RosActivity</a></h3>
  132. <code><a href="../../../../org/ros/android/RosActivity.html#nodeMainExecutorService">nodeMainExecutorService</a></code></li>
  133. </ul>
  134. </li>
  135. </ul>
  136. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  137. <ul class="blockList">
  138. <li class="blockList"><a name="constructor_summary">
  139. <!-- -->
  140. </a>
  141. <h3>Constructor Summary</h3>
  142. <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
  143. <caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
  144. <tr>
  145. <th class="colFirst" scope="col">Modifier</th>
  146. <th class="colLast" scope="col">Constructor and Description</th>
  147. </tr>
  148. <tr class="altColor">
  149. <td class="colFirst"><code>protected </code></td>
  150. <td class="colLast"><code><strong><a href="../../../../org/ros/android/android_acm_serial/AcmDeviceActivity.html#AcmDeviceActivity(java.lang.String, java.lang.String)">AcmDeviceActivity</a></strong>(java.lang.String&nbsp;notificationTicker,
  151. java.lang.String&nbsp;notificationTitle)</code>&nbsp;</td>
  152. </tr>
  153. </table>
  154. </li>
  155. </ul>
  156. <!-- ========== METHOD SUMMARY =========== -->
  157. <ul class="blockList">
  158. <li class="blockList"><a name="method_summary">
  159. <!-- -->
  160. </a>
  161. <h3>Method Summary</h3>
  162. <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
  163. <caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
  164. <tr>
  165. <th class="colFirst" scope="col">Modifier and Type</th>
  166. <th class="colLast" scope="col">Method and Description</th>
  167. </tr>
  168. <tr class="altColor">
  169. <td class="colFirst"><code>protected java.util.Collection&lt;UsbDevice&gt;</code></td>
  170. <td class="colLast"><code><strong><a href="../../../../org/ros/android/android_acm_serial/AcmDeviceActivity.html#getUsbDevices(int, int)">getUsbDevices</a></strong>(int&nbsp;vendorId,
  171. int&nbsp;productId)</code>&nbsp;</td>
  172. </tr>
  173. <tr class="rowColor">
  174. <td class="colFirst"><code>protected void</code></td>
  175. <td class="colLast"><code><strong><a href="../../../../org/ros/android/android_acm_serial/AcmDeviceActivity.html#onCreate(Bundle)">onCreate</a></strong>(Bundle&nbsp;savedInstanceState)</code>&nbsp;</td>
  176. </tr>
  177. <tr class="altColor">
  178. <td class="colFirst"><code>protected void</code></td>
  179. <td class="colLast"><code><strong><a href="../../../../org/ros/android/android_acm_serial/AcmDeviceActivity.html#onDestroy()">onDestroy</a></strong>()</code>&nbsp;</td>
  180. </tr>
  181. <tr class="rowColor">
  182. <td class="colFirst"><code>protected void</code></td>
  183. <td class="colLast"><code><strong><a href="../../../../org/ros/android/android_acm_serial/AcmDeviceActivity.html#onNewIntent(Intent)">onNewIntent</a></strong>(Intent&nbsp;intent)</code>&nbsp;</td>
  184. </tr>
  185. <tr class="altColor">
  186. <td class="colFirst"><code>protected void</code></td>
  187. <td class="colLast"><code><strong><a href="../../../../org/ros/android/android_acm_serial/AcmDeviceActivity.html#requestPermission(UsbDevice)">requestPermission</a></strong>(UsbDevice&nbsp;usbDevice)</code>
  188. <div class="block">Request permission from the user to access the supplied <code>UsbDevice</code>.</div>
  189. </td>
  190. </tr>
  191. </table>
  192. <ul class="blockList">
  193. <li class="blockList"><a name="methods_inherited_from_class_org.ros.android.RosActivity">
  194. <!-- -->
  195. </a>
  196. <h3>Methods inherited from class&nbsp;org.ros.android.<a href="../../../../org/ros/android/RosActivity.html" title="class in org.ros.android">RosActivity</a></h3>
  197. <code><a href="../../../../org/ros/android/RosActivity.html#getMasterUri()">getMasterUri</a>, <a href="../../../../org/ros/android/RosActivity.html#init(org.ros.node.NodeMainExecutor)">init</a>, <a href="../../../../org/ros/android/RosActivity.html#onActivityResult(int, int, Intent)">onActivityResult</a>, <a href="../../../../org/ros/android/RosActivity.html#onStart()">onStart</a>, <a href="../../../../org/ros/android/RosActivity.html#startActivityForResult(Intent, int)">startActivityForResult</a>, <a href="../../../../org/ros/android/RosActivity.html#startMasterChooser()">startMasterChooser</a></code></li>
  198. </ul>
  199. <ul class="blockList">
  200. <li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
  201. <!-- -->
  202. </a>
  203. <h3>Methods inherited from class&nbsp;java.lang.Object</h3>
  204. <code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
  205. </ul>
  206. <ul class="blockList">
  207. <li class="blockList"><a name="methods_inherited_from_class_org.ros.android.android_acm_serial.AcmDevicePermissionCallback">
  208. <!-- -->
  209. </a>
  210. <h3>Methods inherited from interface&nbsp;org.ros.android.android_acm_serial.<a href="../../../../org/ros/android/android_acm_serial/AcmDevicePermissionCallback.html" title="interface in org.ros.android.android_acm_serial">AcmDevicePermissionCallback</a></h3>
  211. <code><a href="../../../../org/ros/android/android_acm_serial/AcmDevicePermissionCallback.html#onPermissionDenied()">onPermissionDenied</a>, <a href="../../../../org/ros/android/android_acm_serial/AcmDevicePermissionCallback.html#onPermissionGranted(org.ros.android.android_acm_serial.AcmDevice)">onPermissionGranted</a></code></li>
  212. </ul>
  213. </li>
  214. </ul>
  215. </li>
  216. </ul>
  217. </div>
  218. <div class="details">
  219. <ul class="blockList">
  220. <li class="blockList">
  221. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  222. <ul class="blockList">
  223. <li class="blockList"><a name="constructor_detail">
  224. <!-- -->
  225. </a>
  226. <h3>Constructor Detail</h3>
  227. <a name="AcmDeviceActivity(java.lang.String, java.lang.String)">
  228. <!-- -->
  229. </a>
  230. <ul class="blockListLast">
  231. <li class="blockList">
  232. <h4>AcmDeviceActivity</h4>
  233. <pre>protected&nbsp;AcmDeviceActivity(java.lang.String&nbsp;notificationTicker,
  234. java.lang.String&nbsp;notificationTitle)</pre>
  235. </li>
  236. </ul>
  237. </li>
  238. </ul>
  239. <!-- ============ METHOD DETAIL ========== -->
  240. <ul class="blockList">
  241. <li class="blockList"><a name="method_detail">
  242. <!-- -->
  243. </a>
  244. <h3>Method Detail</h3>
  245. <a name="onCreate(Bundle)">
  246. <!-- -->
  247. </a>
  248. <ul class="blockList">
  249. <li class="blockList">
  250. <h4>onCreate</h4>
  251. <pre>protected&nbsp;void&nbsp;onCreate(Bundle&nbsp;savedInstanceState)</pre>
  252. </li>
  253. </ul>
  254. <a name="onNewIntent(Intent)">
  255. <!-- -->
  256. </a>
  257. <ul class="blockList">
  258. <li class="blockList">
  259. <h4>onNewIntent</h4>
  260. <pre>protected&nbsp;void&nbsp;onNewIntent(Intent&nbsp;intent)</pre>
  261. </li>
  262. </ul>
  263. <a name="getUsbDevices(int, int)">
  264. <!-- -->
  265. </a>
  266. <ul class="blockList">
  267. <li class="blockList">
  268. <h4>getUsbDevices</h4>
  269. <pre>protected&nbsp;java.util.Collection&lt;UsbDevice&gt;&nbsp;getUsbDevices(int&nbsp;vendorId,
  270. int&nbsp;productId)</pre>
  271. </li>
  272. </ul>
  273. <a name="requestPermission(UsbDevice)">
  274. <!-- -->
  275. </a>
  276. <ul class="blockList">
  277. <li class="blockList">
  278. <h4>requestPermission</h4>
  279. <pre>protected&nbsp;void&nbsp;requestPermission(UsbDevice&nbsp;usbDevice)</pre>
  280. <div class="block">Request permission from the user to access the supplied <code>UsbDevice</code>.</div>
  281. <dl><dt><span class="strong">Parameters:</span></dt><dd><code>usbDevice</code> - the <code>UsbDevice</code> that provides ACM serial</dd><dd><code>callback</code> - will be called once the user has granted or denied permission</dd></dl>
  282. </li>
  283. </ul>
  284. <a name="onDestroy()">
  285. <!-- -->
  286. </a>
  287. <ul class="blockListLast">
  288. <li class="blockList">
  289. <h4>onDestroy</h4>
  290. <pre>protected&nbsp;void&nbsp;onDestroy()</pre>
  291. <dl>
  292. <dt><strong>Overrides:</strong></dt>
  293. <dd><code><a href="../../../../org/ros/android/RosActivity.html#onDestroy()">onDestroy</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/ros/android/RosActivity.html" title="class in org.ros.android">RosActivity</a></code></dd>
  294. </dl>
  295. </li>
  296. </ul>
  297. </li>
  298. </ul>
  299. </li>
  300. </ul>
  301. </div>
  302. </div>
  303. <!-- ========= END OF CLASS DATA ========= -->
  304. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  305. <div class="bottomNav"><a name="navbar_bottom">
  306. <!-- -->
  307. </a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
  308. <!-- -->
  309. </a>
  310. <ul class="navList" title="Navigation">
  311. <li><a href="../../../../overview-summary.html">Overview</a></li>
  312. <li><a href="package-summary.html">Package</a></li>
  313. <li class="navBarCell1Rev">Class</li>
  314. <li><a href="package-tree.html">Tree</a></li>
  315. <li><a href="../../../../deprecated-list.html">Deprecated</a></li>
  316. <li><a href="../../../../index-all.html">Index</a></li>
  317. <li><a href="../../../../help-doc.html">Help</a></li>
  318. </ul>
  319. </div>
  320. <div class="subNav">
  321. <ul class="navList">
  322. <li><a href="../../../../org/ros/android/android_acm_serial/AcmDevice.html" title="class in org.ros.android.android_acm_serial"><span class="strong">Prev Class</span></a></li>
  323. <li><a href="../../../../org/ros/android/android_acm_serial/AcmDevicePermissionCallback.html" title="interface in org.ros.android.android_acm_serial"><span class="strong">Next Class</span></a></li>
  324. </ul>
  325. <ul class="navList">
  326. <li><a href="../../../../index.html?org/ros/android/android_acm_serial/AcmDeviceActivity.html" target="_top">Frames</a></li>
  327. <li><a href="AcmDeviceActivity.html" target="_top">No Frames</a></li>
  328. </ul>
  329. <ul class="navList" id="allclasses_navbar_bottom">
  330. <li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
  331. </ul>
  332. <div>
  333. <script type="text/javascript"><!--
  334. allClassesLink = document.getElementById("allclasses_navbar_bottom");
  335. if(window==top) {
  336. allClassesLink.style.display = "block";
  337. }
  338. else {
  339. allClassesLink.style.display = "none";
  340. }
  341. //-->
  342. </script>
  343. </div>
  344. <div>
  345. <ul class="subNavList">
  346. <li>Summary:&nbsp;</li>
  347. <li>Nested&nbsp;|&nbsp;</li>
  348. <li><a href="#fields_inherited_from_class_org.ros.android.RosActivity">Field</a>&nbsp;|&nbsp;</li>
  349. <li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
  350. <li><a href="#method_summary">Method</a></li>
  351. </ul>
  352. <ul class="subNavList">
  353. <li>Detail:&nbsp;</li>
  354. <li>Field&nbsp;|&nbsp;</li>
  355. <li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
  356. <li><a href="#method_detail">Method</a></li>
  357. </ul>
  358. </div>
  359. <a name="skip-navbar_bottom">
  360. <!-- -->
  361. </a></div>
  362. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  363. </body>
  364. </html>