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 class QLowEnergyServiceData
- Since:
- This class was introduced in Qt 5.7.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQLowEnergyServiceData::ServiceType
-
Constructor Summary
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionfinal void
addCharacteristic
(QLowEnergyCharacteristicData characteristic) final void
addIncludedService
(QLowEnergyService service) final void
assign
(QLowEnergyServiceData other) clone()
Creates and returns a copy of this object.final boolean
Seeoperator==(QLowEnergyServiceData,
QLowEnergyServiceData) boolean
Seeoperator==(QLowEnergyServiceData,
QLowEnergyServiceData) int
hashCode()
Returns the objects's hash code computed byqHash(QLowEnergyServiceData)
.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
Overloaded function forsetUuid(io.qt.bluetooth.QBluetoothUuid)
.final void
Overloaded function forsetUuid(io.qt.bluetooth.QBluetoothUuid)
.final void
Overloaded function forsetUuid(io.qt.bluetooth.QBluetoothUuid)
.final void
Overloaded function forsetUuid(io.qt.bluetooth.QBluetoothUuid)
.final void
Overloaded function forsetUuid(io.qt.bluetooth.QBluetoothUuid)
.final void
swap
(QLowEnergyServiceData other) type()
final QBluetoothUuid
uuid()
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QLowEnergyServiceData
public QLowEnergyServiceData() -
QLowEnergyServiceData
- Parameters:
other
-
-
-
Method Details
-
addCharacteristic
- Parameters:
characteristic
-
-
addIncludedService
- Parameters:
service
-
-
characteristics
- Returns:
-
includedServices
- Returns:
-
isValid
- Returns:
-
assign
- Parameters:
other
-
-
equals
See
operator==(QLowEnergyServiceData,
QLowEnergyServiceData) - Parameters:
sd2
-- Returns:
-
setCharacteristics
@QtUninvokable public final void setCharacteristics(Collection<? extends QLowEnergyCharacteristicData> characteristics) - Parameters:
characteristics
-
-
setIncludedServices
@QtUninvokable public final void setIncludedServices(Collection<? extends QLowEnergyService> services) - Parameters:
services
-
-
setType
- Parameters:
type
-
-
setUuid
- Parameters:
uuid
-
-
swap
- Parameters:
other
-
-
type
- Returns:
-
uuid
- Returns:
-
equals
See
operator==(QLowEnergyServiceData,
QLowEnergyServiceData) -
hashCode
Returns the objects's hash code computed byqHash(QLowEnergyServiceData)
. -
clone
Creates and returns a copy of this object.
See
QLowEnergyServiceData::
QLowEnergyServiceData(QLowEnergyServiceData) -
setUuid
Overloaded function for
setUuid(io.qt.bluetooth.QBluetoothUuid)
. -
setUuid
Overloaded function for
setUuid(io.qt.bluetooth.QBluetoothUuid)
. -
setUuid
Overloaded function for
setUuid(io.qt.bluetooth.QBluetoothUuid)
. -
setUuid
Overloaded function for
setUuid(io.qt.bluetooth.QBluetoothUuid)
. -
setUuid
Overloaded function for
setUuid(io.qt.bluetooth.QBluetoothUuid)
.
-