OLD | NEW |
1 <!DOCTYPE html><!-- This page is a placeholder for generated extensions api doc.
Note: | 1 <!DOCTYPE html><!-- This page is a placeholder for generated extensions api doc.
Note: |
2 1) The <head> information in this page is significant, should be uniform | 2 1) The <head> information in this page is significant, should be uniform |
3 across api docs and should be edited only with knowledge of the | 3 across api docs and should be edited only with knowledge of the |
4 templating mechanism. | 4 templating mechanism. |
5 3) All <body>.innerHTML is genereated as an rendering step. If viewed in a | 5 3) All <body>.innerHTML is genereated as an rendering step. If viewed in a |
6 browser, it will be re-generated from the template, json schema and | 6 browser, it will be re-generated from the template, json schema and |
7 authored overview content. | 7 authored overview content. |
8 4) The <body>.innerHTML is also generated by an offline step so that this | 8 4) The <body>.innerHTML is also generated by an offline step so that this |
9 page may easily be indexed by search engines. | 9 page may easily be indexed by search engines. |
10 --><html xmlns="http://www.w3.org/1999/xhtml"><head> | 10 --><html xmlns="http://www.w3.org/1999/xhtml"><head> |
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
272 </tr> | 272 </tr> |
273 <tr> | 273 <tr> |
274 <td>eventCallbacks(object)</td> | 274 <td>eventCallbacks(object)</td> |
275 <td>An object with a single key, "onEvent", | 275 <td>An object with a single key, "onEvent", |
276 to be called whenever an event occurs on the corresponding device. | 276 to be called whenever an event occurs on the corresponding device. |
277 This will be the primary method of receiving information from the device. | 277 This will be the primary method of receiving information from the device. |
278 As the host-initiated USB protocol is complex, read on to learn more. | 278 As the host-initiated USB protocol is complex, read on to learn more. |
279 </td> | 279 </td> |
280 </tr> | 280 </tr> |
281 <tr> | 281 <tr> |
282 <td>onDevideFoundCallback()</td> | 282 <td>onDeviceFoundCallback()</td> |
283 <td>Called when the device is found. | 283 <td>Called when the device is found. |
284 The callback's parameter is an object | 284 The callback's parameter is an object |
285 with three properties: <code>handle</code>, | 285 with three properties: <code>handle</code>, |
286 <code>vendorId</code>, | 286 <code>vendorId</code>, |
287 <code>productId</code>; | 287 <code>productId</code>; |
288 or <code>NULL</code>, | 288 or <code>NULL</code>, |
289 if no device is found. | 289 if no device is found. |
290 Save this object | 290 Save this object |
291 as it's required to send messages to the device.</td> | 291 as it's required to send messages to the device.</td> |
292 </tr> | 292 </tr> |
(...skipping 514 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
807 _uff=0; | 807 _uff=0; |
808 urchinTracker(); | 808 urchinTracker(); |
809 } | 809 } |
810 catch(e) {/* urchinTracker not available. */} | 810 catch(e) {/* urchinTracker not available. */} |
811 </script> | 811 </script> |
812 <!-- end analytics --> | 812 <!-- end analytics --> |
813 </div> | 813 </div> |
814 </div> <!-- /gc-footer --> | 814 </div> <!-- /gc-footer --> |
815 </div> <!-- /gc-container --> | 815 </div> <!-- /gc-container --> |
816 </body></html> | 816 </body></html> |
OLD | NEW |