B2G/Bluetooth/WebBluetooth-v2/BluetoothServerSocket: Difference between revisions

Jump to navigation Jump to search
m
→‎BluetoothServerSocket: change the order
(→‎Methods: Methods of BluetoothServerSocket)
m (→‎BluetoothServerSocket: change the order)
Line 11: Line 11:
  interface BluetoothServerSocket: EventTarget
  interface BluetoothServerSocket: EventTarget
  {
  {
  [NewObject, Throws] Promise<BluetoothSocket> listen()
   readonly attribute DOMString serviceUuid;
   readonly attribute DOMString serviceUuid;
   readonly attribute DOMString? serviceName;
   readonly attribute DOMString? serviceName;
             attribute EventHandler onclose;   // DOMString aErrorMsg
             attribute EventHandler onclose;
   
   
  [NewObject, Throws] Promise<BluetoothSocket> listen()
   [NewObject, Throws] Promise<void> close();
   [NewObject, Throws] Promise<void> close();
  };
  };
Confirmed users
185

edits

Navigation menu