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": "extensions/browser/api/bluetooth/bluetooth_private_api. h" | 6 "implemented_in": "extensions/browser/api/bluetooth/bluetooth_private_api. h" |
7 }, | 7 }, |
8 "functions": [ | 8 "functions": [ |
9 { | 9 { |
10 "name": "setAdapterState", | 10 "name": "setAdapterState", |
(...skipping 18 matching lines...) Expand all Loading... | |
29 { | 29 { |
30 "name": "options", | 30 "name": "options", |
31 "$ref": "SetPairingResponseOptions" | 31 "$ref": "SetPairingResponseOptions" |
32 }, | 32 }, |
33 { | 33 { |
34 "name": "callback", | 34 "name": "callback", |
35 "type": "function", | 35 "type": "function", |
36 "parameters": [] | 36 "parameters": [] |
37 } | 37 } |
38 ] | 38 ] |
39 }, | |
40 { | |
41 "name": "disconnect", | |
Jeffrey Yasskin
2014/12/20 00:53:48
Can you call this something that won't be confused
armansito
2014/12/20 01:24:28
Makes sense, will do.
| |
42 "type": "function", | |
43 "description": "Tears down all connections to the given device.", | |
44 "parameters": [ | |
45 { | |
46 "name": "deviceAddress", | |
47 "type": "string" | |
48 }, | |
49 { | |
50 "name": "callback", | |
51 "type": "function", | |
52 "parameters": [] | |
53 } | |
54 ] | |
39 } | 55 } |
40 ], | 56 ], |
41 "events": [ | 57 "events": [ |
42 { | 58 { |
43 "name": "onPairing", | 59 "name": "onPairing", |
44 "type": "function", | 60 "type": "function", |
45 "description": "Fired when a pairing event occurs.", | 61 "description": "Fired when a pairing event occurs.", |
46 "parameters": [ | 62 "parameters": [ |
47 { | 63 { |
48 "name": "pairingEvent", | 64 "name": "pairingEvent", |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
181 "optional": true, | 197 "optional": true, |
182 "name": "passkey", | 198 "name": "passkey", |
183 "type": "integer", | 199 "type": "integer", |
184 "description": "An integer between 0-999999 set in response to <code >requestPasskey</code>." | 200 "description": "An integer between 0-999999 set in response to <code >requestPasskey</code>." |
185 } | 201 } |
186 } | 202 } |
187 } | 203 } |
188 ] | 204 ] |
189 } | 205 } |
190 ] | 206 ] |
OLD | NEW |