Confirmed users
149
edits
(→Socket) |
|||
| Line 33: | Line 33: | ||
bool startDiscovery(); // ret: false if bluetooth is not enabled | bool startDiscovery(); // ret: false if bluetooth is not enabled | ||
void stopDiscovery(); | void stopDiscovery(); | ||
void pair(in DOMString aAddress); | void pair(in DOMString aAddress); | ||
void unpair(in DOMString aAddress); | void unpair(in DOMString aAddress); | ||
nsIDOMBluetoothDevice getRemoteDevice(in DOMString address); // Like a device creator | |||
nsIDOMBluetoothServerSocket listenRfcommSocket(in DOMString serviceName, in DOMString serviceUuid); | |||
readonly attribute DOMString address; | readonly attribute DOMString address; | ||