java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.bluetooth.QLowEnergyServiceData
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
public class QLowEnergyServiceData extends QtObject implements Cloneable
Used to set up GATT service data
Java wrapper for Qt class QLowEnergyServiceData
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QLowEnergyServiceData.ServiceType
Java wrapper for Qt enum QLowEnergyServiceData::ServiceType -
Constructor Summary
Constructors Modifier Constructor Description QLowEnergyServiceData()
QLowEnergyServiceData(QLowEnergyServiceData other)
protected
QLowEnergyServiceData(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
Modifier and Type Method Description void
addCharacteristic(QLowEnergyCharacteristicData characteristic)
void
addIncludedService(QLowEnergyService service)
List<QLowEnergyCharacteristicData>
characteristics()
QLowEnergyServiceData
clone()
boolean
equals(Object other)
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.int
hashCode()
List<QLowEnergyService>
includedServices()
boolean
isValid()
void
setCharacteristics(Collection<QLowEnergyCharacteristicData> characteristics)
void
setIncludedServices(Collection<QLowEnergyService> services)
void
setType(QLowEnergyServiceData.ServiceType type)
void
setUuid(QBluetoothUuid uuid)
void
swap(QLowEnergyServiceData other)
QLowEnergyServiceData.ServiceType
type()
QBluetoothUuid
uuid()
-
Constructor Details
-
QLowEnergyServiceData
public QLowEnergyServiceData() -
QLowEnergyServiceData
-
QLowEnergyServiceData
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
addCharacteristic
-
addIncludedService
-
characteristics
-
includedServices
-
isValid
-
setCharacteristics
@QtUninvokable public final void setCharacteristics(Collection<QLowEnergyCharacteristicData> characteristics) -
setIncludedServices
-
setType
-
setUuid
-
swap
-
type
-
uuid
-
equals
Description copied from class:QtObject
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface. Otherwise it will return the result of calling the super class implementation. -
hashCode
public int hashCode() -
clone
-