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 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
197 <a href="#method-write">write</a> | 197 <a href="#method-write">write</a> |
198 </li> | 198 </li> |
199 </ol> | 199 </ol> |
200 </li> | 200 </li> |
201 <li> | 201 <li> |
202 <a href="#global-events">Events</a> | 202 <a href="#global-events">Events</a> |
203 <ol> | 203 <ol> |
204 <li> | 204 <li> |
205 <a href="#event-onAvailabilityChanged">onAvailabilityChanged</a> | 205 <a href="#event-onAvailabilityChanged">onAvailabilityChanged</a> |
206 </li><li> | 206 </li><li> |
207 <a href="#event-onDeviceDiscovered_">onDeviceDiscovered_</a> | |
208 </li><li> | |
209 <a href="#event-onPowerChanged">onPowerChanged</a> | 207 <a href="#event-onPowerChanged">onPowerChanged</a> |
210 </li> | 208 </li> |
211 </ol> | 209 </ol> |
212 </li> | 210 </li> |
213 <li> | 211 <li> |
214 <a href="#types">Types</a> | 212 <a href="#types">Types</a> |
215 <ol> | 213 <ol> |
216 <li> | 214 <li> |
217 <a href="#type-experimental.bluetooth.ConnectOptions">experiment
al.bluetooth.ConnectOptions</a> | 215 <a href="#type-experimental.bluetooth.ConnectOptions">experiment
al.bluetooth.ConnectOptions</a> |
218 <ol> | 216 <ol> |
(...skipping 1214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1433 </div> | 1431 </div> |
1434 </dl> | 1432 </dl> |
1435 </div> | 1433 </div> |
1436 <!-- EXTRA PARAMETERS --> | 1434 <!-- EXTRA PARAMETERS --> |
1437 <!-- LISTENER RETURN VALUE --> | 1435 <!-- LISTENER RETURN VALUE --> |
1438 <dl> | 1436 <dl> |
1439 </dl> | 1437 </dl> |
1440 </div> <!-- /description --> | 1438 </div> <!-- /description --> |
1441 <!-- /description --> | 1439 <!-- /description --> |
1442 </div><div class="apiItem"> | 1440 </div><div class="apiItem"> |
1443 <a name="event-onDeviceDiscovered_"></a> | |
1444 <h4>onDeviceDiscovered_</h4> | |
1445 <div class="summary"> | |
1446 <!-- Note: intentionally longer 80 columns --> | |
1447 <span class="subdued">chrome.experimental.bluetooth.</span><span
>onDeviceDiscovered_</span><span class="subdued">.addListener</span>(function(<s
pan>experimental.bluetooth.Device device</span>) <span class="subdued">{...}</sp
an><span></span>); | |
1448 </div> | |
1449 <div class="description"> | |
1450 <p>Used to return discovered devices to the extension. Users sho
uld not add listeners to this event directly.</p> | |
1451 <!-- LISTENER PARAMETERS --> | |
1452 <div> | |
1453 <h4>Listener parameters</h4> | |
1454 <dl> | |
1455 <div> | |
1456 <div> | |
1457 <dt> | |
1458 <var>device</var> | |
1459 <em> | |
1460 <!-- TYPE --> | |
1461 <div style="display:inline"> | |
1462 ( | |
1463 <span id="typeTemplate"> | |
1464 <span> | |
1465 <a href="experimental.bluetooth.html#type-experimental.b
luetooth.Device">experimental.bluetooth.Device</a> | |
1466 </span> | |
1467 </span> | |
1468 ) | |
1469 </div> | |
1470 </em> | |
1471 </dt> | |
1472 <dd class="todo"> | |
1473 Undocumented. | |
1474 </dd> | |
1475 <!-- OBJECT PROPERTIES --> | |
1476 <!-- OBJECT METHODS --> | |
1477 <!-- OBJECT EVENT FIELDS --> | |
1478 <!-- FUNCTION PARAMETERS --> | |
1479 </div> | |
1480 </div> | |
1481 </dl> | |
1482 </div> | |
1483 <!-- EXTRA PARAMETERS --> | |
1484 <!-- LISTENER RETURN VALUE --> | |
1485 <dl> | |
1486 </dl> | |
1487 </div> <!-- /description --> | |
1488 <!-- /description --> | |
1489 </div><div class="apiItem"> | |
1490 <a name="event-onPowerChanged"></a> | 1441 <a name="event-onPowerChanged"></a> |
1491 <h4>onPowerChanged</h4> | 1442 <h4>onPowerChanged</h4> |
1492 <div class="summary"> | 1443 <div class="summary"> |
1493 <!-- Note: intentionally longer 80 columns --> | 1444 <!-- Note: intentionally longer 80 columns --> |
1494 <span class="subdued">chrome.experimental.bluetooth.</span><span
>onPowerChanged</span><span class="subdued">.addListener</span>(function(<span>b
oolean has_power</span>) <span class="subdued">{...}</span><span></span>); | 1445 <span class="subdued">chrome.experimental.bluetooth.</span><span
>onPowerChanged</span><span class="subdued">.addListener</span>(function(<span>b
oolean has_power</span>) <span class="subdued">{...}</span><span></span>); |
1495 </div> | 1446 </div> |
1496 <div class="description"> | 1447 <div class="description"> |
1497 <p>Fired when the power state of bluetooth on the system changes
.</p> | 1448 <p>Fired when the power state of bluetooth on the system changes
.</p> |
1498 <!-- LISTENER PARAMETERS --> | 1449 <!-- LISTENER PARAMETERS --> |
1499 <div> | 1450 <div> |
(...skipping 1049 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2549 _uff=0; | 2500 _uff=0; |
2550 urchinTracker(); | 2501 urchinTracker(); |
2551 } | 2502 } |
2552 catch(e) {/* urchinTracker not available. */} | 2503 catch(e) {/* urchinTracker not available. */} |
2553 </script> | 2504 </script> |
2554 <!-- end analytics --> | 2505 <!-- end analytics --> |
2555 </div> | 2506 </div> |
2556 </div> <!-- /gc-footer --> | 2507 </div> <!-- /gc-footer --> |
2557 </div> <!-- /gc-container --> | 2508 </div> <!-- /gc-container --> |
2558 </body></html> | 2509 </body></html> |
OLD | NEW |