WebAPI/WebBluetooth: Difference between revisions

Jump to navigation Jump to search
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 getDevice(DOMString address);  // Like a device creator
     nsIDOMBluetoothDevice getRemoteDevice(in DOMString address);  // Like a device creator
     bool connect(in nsIDOMBluetoothDevice device);
     void pair(in DOMString aAddress);
     void disconnect(in nsIDOMBluetoothDevice device);
     void unpair(in DOMString aAddress);
      
      
     readonly attribute DOMString address;
     readonly attribute DOMString address;
Confirmed users
149

edits

Navigation menu