19 QLowEnergyDescriptorData();
20 QLowEnergyDescriptorData(
const QBluetoothUuid &uuid,
21 const QByteArray &value);
22 QLowEnergyDescriptorData(
const QLowEnergyDescriptorData &other);
23 ~QLowEnergyDescriptorData();
25 QLowEnergyDescriptorData &operator=(
const QLowEnergyDescriptorData &other);
26 friend bool operator==(
const QLowEnergyDescriptorData &a,
const QLowEnergyDescriptorData &b)
31 friend bool operator!=(
const QLowEnergyDescriptorData &a,
const QLowEnergyDescriptorData &b)
36 QByteArray value()
const;
37 void setValue(
const QByteArray &value);
39 QBluetoothUuid uuid()
const;
40 void setUuid(
const QBluetoothUuid &uuid);
44 void setReadPermissions(
bool readable,
45 QBluetooth::AttAccessConstraints constraints = QBluetooth::AttAccessConstraints());
46 bool isReadable()
const;
47 QBluetooth::AttAccessConstraints readConstraints()
const;
49 void setWritePermissions(
bool writable,
50 QBluetooth::AttAccessConstraints constraints = QBluetooth::AttAccessConstraints());
51 bool isWritable()
const;
52 QBluetooth::AttAccessConstraints writeConstraints()
const;
54 void swap(QLowEnergyDescriptorData &other)
noexcept { d.swap(other.d); }
57 static bool equals(
const QLowEnergyDescriptorData &a,
const QLowEnergyDescriptorData &b);
58 QSharedDataPointer<QLowEnergyDescriptorDataPrivate> d;