java.lang.Object
io.qt.QtObject
io.qt.bluetooth.QLowEnergyCharacteristicData
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Used to set up GATT service data
Java wrapper for Qt's class QLowEnergyCharacteristicData
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal void
addDescriptor
(QLowEnergyDescriptorData descriptor) clone()
final QList<QLowEnergyDescriptorData>
boolean
Used to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical.int
hashCode()
final boolean
isValid()
final int
final int
final void
setDescriptors
(Collection<? extends QLowEnergyDescriptorData> descriptors) final void
setProperties
(QLowEnergyCharacteristic.PropertyType... properties) Overloaded function forsetProperties(io.qt.bluetooth.QLowEnergyCharacteristic.PropertyTypes)
.final void
setProperties
(QLowEnergyCharacteristic.PropertyTypes properties) final void
setReadConstraints
(QBluetooth.AttAccessConstraint... constraints) Overloaded function forsetReadConstraints(io.qt.bluetooth.QBluetooth.AttAccessConstraints)
.final void
setReadConstraints
(QBluetooth.AttAccessConstraints constraints) final void
setUuid
(QBluetoothUuid uuid) final void
setValue
(QByteArray value) final void
setValueLength
(int minimum, int maximum) final void
setWriteConstraints
(QBluetooth.AttAccessConstraint... constraints) Overloaded function forsetWriteConstraints(io.qt.bluetooth.QBluetooth.AttAccessConstraints)
.final void
setWriteConstraints
(QBluetooth.AttAccessConstraints constraints) final void
swap
(QLowEnergyCharacteristicData other) final QBluetoothUuid
uuid()
final QByteArray
value()
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QLowEnergyCharacteristicData
public QLowEnergyCharacteristicData() -
QLowEnergyCharacteristicData
-
QLowEnergyCharacteristicData
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
addDescriptor
-
descriptors
-
isValid
-
maximumValueLength
-
minimumValueLength
-
properties
-
readConstraints
-
setDescriptors
@QtUninvokable public final void setDescriptors(Collection<? extends QLowEnergyDescriptorData> descriptors) -
setProperties
Overloaded function for
setProperties(io.qt.bluetooth.QLowEnergyCharacteristic.PropertyTypes)
. -
setProperties
-
setReadConstraints
Overloaded function for
setReadConstraints(io.qt.bluetooth.QBluetooth.AttAccessConstraints)
. -
setReadConstraints
-
setUuid
-
setValue
-
setValueLength
-
setWriteConstraints
Overloaded function for
setWriteConstraints(io.qt.bluetooth.QBluetooth.AttAccessConstraints)
. -
setWriteConstraints
-
swap
-
uuid
-
value
-
writeConstraints
-
equals
Description copied from class:QtObject
Used to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical. Qt value types override this method to make a value comparison. Otherwise it will return the result of calling the super class implementation. -
hashCode
-
clone
-