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

Line 30: Line 30:
   [NewObject, Throws] Promise<void> [[B2G/Bluetooth/WebBluetooth-v2/BluetoothGattCharacteristic#stopNotification.28.29|stopNotifications()]];
   [NewObject, Throws] Promise<void> [[B2G/Bluetooth/WebBluetooth-v2/BluetoothGattCharacteristic#stopNotification.28.29|stopNotifications()]];
   [NewObject, Throws] Promise<BluetoothGattDescriptor> addDescriptor(DOMString aUuid, DescriptorPermissions aPermissions);
   [NewObject, Throws] Promise<BluetoothGattDescriptor> addDescriptor(DOMString aUuid, DescriptorPermissions aPermissions);
};
=== Permission ===
dictionary Permission
{
  required boolean read;
  required boolean readEncrypted;
  required boolean readEncryptedMITM;
  required boolean write;
  required boolean writeEncrypted;
  required boolean writeEncryptedMITM;
  required boolean writeSigned;
  required boolean writeSignedMITM;
  };
  };


Confirmed users
891

edits