OLD | NEW |
---|---|
1 [ | 1 [ |
2 { | 2 { |
3 "namespace": "bluetoothPrivate", | 3 "namespace": "bluetoothPrivate", |
4 "description": " Use the <code>chrome.bluetoothPrivate</code> API to control the Bluetooth\n adapter state and handle device pairing.", | 4 "description": " Use the <code>chrome.bluetoothPrivate</code> API to control the Bluetooth\n adapter state and handle device pairing.", |
5 "compiler_options": { | 5 "compiler_options": { |
6 "implemented_in": "chrome/browser/extensions/api/bluetooth/bluetooth_priva te_api.h" | 6 "implemented_in": "chrome/browser/extensions/api/bluetooth/bluetooth_priva te_api.h" |
7 }, | 7 }, |
8 "functions": [ | 8 "functions": [ |
9 { | 9 { |
10 "description": "Changes the state of the Bluetooth adapter.", | 10 "description": "Changes the state of the Bluetooth adapter.", |
(...skipping 18 matching lines...) Expand all Loading... | |
29 "$ref": "SetPairingResponseOptions" | 29 "$ref": "SetPairingResponseOptions" |
30 }, | 30 }, |
31 { | 31 { |
32 "type": "function", | 32 "type": "function", |
33 "name": "callback", | 33 "name": "callback", |
34 "parameters": [] | 34 "parameters": [] |
35 } | 35 } |
36 ], | 36 ], |
37 "name": "setPairingResponse", | 37 "name": "setPairingResponse", |
38 "type": "function" | 38 "type": "function" |
39 }, | |
40 { | |
41 "parameters": [ | |
not at google - send to devlin
2014/04/23 01:34:13
odd having parameters at the start. same for other
Ilya Sherman
2014/04/23 01:36:00
I thought so too, but was matching the local style
| |
42 { | |
43 "name": "address", | |
44 "type": "string", | |
45 "description": "The Bluetooth address of the device." | |
46 }, | |
47 { | |
48 "type": "function", | |
49 "name": "callback", | |
50 "parameters": [ | |
51 { | |
52 "name": "rssi", | |
53 "type": "integer", | |
54 "description": "The RSSI of the device." | |
55 } | |
56 ] | |
57 } | |
58 ], | |
59 "name": "getDeviceRSSI", | |
keybuk
2014/04/23 08:59:19
If the RSSI is simply a property of the device, th
Ilya Sherman
2014/04/24 06:45:16
The intent is to be able to poll for the current R
keybuk
2014/04/24 11:25:52
I think both of these things can go in the public
| |
60 "type": "function", | |
61 "description": "Returns the RSSI of a Bluetooth device." | |
39 } | 62 } |
40 ], | 63 ], |
41 "events": [ | 64 "events": [ |
42 { | 65 { |
43 "description": "Fired when a pairing event occurs.", | 66 "description": "Fired when a pairing event occurs.", |
44 "parameters": [ | 67 "parameters": [ |
45 { | 68 { |
46 "description": "A pairing event.", | 69 "description": "A pairing event.", |
47 "name": "pairingEvent", | 70 "name": "pairingEvent", |
48 "$ref": "PairingEvent" | 71 "$ref": "PairingEvent" |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
181 "optional": true, | 204 "optional": true, |
182 "name": "passkey", | 205 "name": "passkey", |
183 "type": "integer", | 206 "type": "integer", |
184 "description": "An integer between 0-999999 set in response to <code >requestPasskey</code>." | 207 "description": "An integer between 0-999999 set in response to <code >requestPasskey</code>." |
185 } | 208 } |
186 } | 209 } |
187 } | 210 } |
188 ] | 211 ] |
189 } | 212 } |
190 ] | 213 ] |
OLD | NEW |