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-onDiscoveringChanged">onDiscoveringChanged</a> |
| 208 </li><li> |
207 <a href="#event-onPowerChanged">onPowerChanged</a> | 209 <a href="#event-onPowerChanged">onPowerChanged</a> |
208 </li> | 210 </li> |
209 </ol> | 211 </ol> |
210 </li> | 212 </li> |
211 <li> | 213 <li> |
212 <a href="#types">Types</a> | 214 <a href="#types">Types</a> |
213 <ol> | 215 <ol> |
214 <li> | 216 <li> |
215 <a href="#type-experimental.bluetooth.ConnectOptions">experiment
al.bluetooth.ConnectOptions</a> | 217 <a href="#type-experimental.bluetooth.ConnectOptions">experiment
al.bluetooth.ConnectOptions</a> |
216 <ol> | 218 <ol> |
(...skipping 1214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1431 </div> | 1433 </div> |
1432 </dl> | 1434 </dl> |
1433 </div> | 1435 </div> |
1434 <!-- EXTRA PARAMETERS --> | 1436 <!-- EXTRA PARAMETERS --> |
1435 <!-- LISTENER RETURN VALUE --> | 1437 <!-- LISTENER RETURN VALUE --> |
1436 <dl> | 1438 <dl> |
1437 </dl> | 1439 </dl> |
1438 </div> <!-- /description --> | 1440 </div> <!-- /description --> |
1439 <!-- /description --> | 1441 <!-- /description --> |
1440 </div><div class="apiItem"> | 1442 </div><div class="apiItem"> |
| 1443 <a name="event-onDiscoveringChanged"></a> |
| 1444 <h4>onDiscoveringChanged</h4> |
| 1445 <div class="summary"> |
| 1446 <!-- Note: intentionally longer 80 columns --> |
| 1447 <span class="subdued">chrome.experimental.bluetooth.</span><span
>onDiscoveringChanged</span><span class="subdued">.addListener</span>(function(<
span>boolean discovering</span>) <span class="subdued">{...}</span><span></span>
); |
| 1448 </div> |
| 1449 <div class="description"> |
| 1450 <p>Fired when the discovering state of the system changes.</p> |
| 1451 <!-- LISTENER PARAMETERS --> |
| 1452 <div> |
| 1453 <h4>Listener parameters</h4> |
| 1454 <dl> |
| 1455 <div> |
| 1456 <div> |
| 1457 <dt> |
| 1458 <var>discovering</var> |
| 1459 <em> |
| 1460 <!-- TYPE --> |
| 1461 <div style="display:inline"> |
| 1462 ( |
| 1463 <span id="typeTemplate"> |
| 1464 <span> |
| 1465 <span>boolean</span> |
| 1466 </span> |
| 1467 </span> |
| 1468 ) |
| 1469 </div> |
| 1470 </em> |
| 1471 </dt> |
| 1472 <dd>True if the system is currently in discovery mode, false
otherwise.</dd> |
| 1473 <!-- OBJECT PROPERTIES --> |
| 1474 <!-- OBJECT METHODS --> |
| 1475 <!-- OBJECT EVENT FIELDS --> |
| 1476 <!-- FUNCTION PARAMETERS --> |
| 1477 </div> |
| 1478 </div> |
| 1479 </dl> |
| 1480 </div> |
| 1481 <!-- EXTRA PARAMETERS --> |
| 1482 <!-- LISTENER RETURN VALUE --> |
| 1483 <dl> |
| 1484 </dl> |
| 1485 </div> <!-- /description --> |
| 1486 <!-- /description --> |
| 1487 </div><div class="apiItem"> |
1441 <a name="event-onPowerChanged"></a> | 1488 <a name="event-onPowerChanged"></a> |
1442 <h4>onPowerChanged</h4> | 1489 <h4>onPowerChanged</h4> |
1443 <div class="summary"> | 1490 <div class="summary"> |
1444 <!-- Note: intentionally longer 80 columns --> | 1491 <!-- Note: intentionally longer 80 columns --> |
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>); | 1492 <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>); |
1446 </div> | 1493 </div> |
1447 <div class="description"> | 1494 <div class="description"> |
1448 <p>Fired when the power state of bluetooth on the system changes
.</p> | 1495 <p>Fired when the power state of bluetooth on the system changes
.</p> |
1449 <!-- LISTENER PARAMETERS --> | 1496 <!-- LISTENER PARAMETERS --> |
1450 <div> | 1497 <div> |
(...skipping 1049 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2500 _uff=0; | 2547 _uff=0; |
2501 urchinTracker(); | 2548 urchinTracker(); |
2502 } | 2549 } |
2503 catch(e) {/* urchinTracker not available. */} | 2550 catch(e) {/* urchinTracker not available. */} |
2504 </script> | 2551 </script> |
2505 <!-- end analytics --> | 2552 <!-- end analytics --> |
2506 </div> | 2553 </div> |
2507 </div> <!-- /gc-footer --> | 2554 </div> <!-- /gc-footer --> |
2508 </div> <!-- /gc-container --> | 2555 </div> <!-- /gc-container --> |
2509 </body></html> | 2556 </body></html> |
OLD | NEW |