WebAPI/WebBluetooth: Difference between revisions

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();     
    nsIDOMBluetoothDevice getRemoteDevice(in DOMString address);  // Like a device creator
     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;
Confirmed users
149

edits