java.lang.Object
io.qt.QtObject
io.qt.bluetooth.QLowEnergyServiceData
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Used to set up GATT service data
Java wrapper for Qt's class QLowEnergyServiceData
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enum QLowEnergyServiceData::ServiceTypeNested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal void
addCharacteristic
(QLowEnergyCharacteristicData characteristic) final void
addIncludedService
(QLowEnergyService service) final void
assign
(QLowEnergyServiceData other) clone()
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 QList<QLowEnergyService>
final boolean
isValid()
final void
setCharacteristics
(Collection<? extends QLowEnergyCharacteristicData> characteristics) final void
setIncludedServices
(Collection<? extends QLowEnergyService> services) final void
final void
setUuid
(QBluetoothUuid uuid) final void
swap
(QLowEnergyServiceData other) type()
final QBluetoothUuid
uuid()
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QLowEnergyServiceData
public QLowEnergyServiceData() -
QLowEnergyServiceData
-
QLowEnergyServiceData
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
addCharacteristic
-
addIncludedService
-
characteristics
-
includedServices
-
isValid
-
assign
-
setCharacteristics
@QtUninvokable public final void setCharacteristics(Collection<? extends QLowEnergyCharacteristicData> characteristics) -
setIncludedServices
@QtUninvokable public final void setIncludedServices(Collection<? extends QLowEnergyService> services) -
setType
-
setUuid
-
swap
-
type
-
uuid
-
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
-