java.lang.Object
io.qt.QtObject
io.qt.bluetooth.QLowEnergyAdvertisingData
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Represents the data to be broadcast during Bluetooth Low Energy advertising
Java wrapper for Qt's class QLowEnergyAdvertisingData
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enum QLowEnergyAdvertisingData::DiscoverabilityNested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal void
assign
(QLowEnergyAdvertisingData 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 boolean
static short
final String
final QByteArray
final short
final QByteArray
rawData()
final QList<QBluetoothUuid>
services()
final void
final void
setIncludePowerLevel
(boolean doInclude) final void
setLocalName
(String name) final void
setManufacturerData
(short id, QByteArray data) final void
setRawData
(QByteArray data) final void
setServices
(Collection<? extends QBluetoothUuid> services) final void
swap
(QLowEnergyAdvertisingData other) Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QLowEnergyAdvertisingData
public QLowEnergyAdvertisingData() -
QLowEnergyAdvertisingData
-
QLowEnergyAdvertisingData
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
discoverability
-
includePowerLevel
-
localName
-
manufacturerData
-
manufacturerId
-
assign
-
rawData
-
services
-
setDiscoverability
-
setIncludePowerLevel
-
setLocalName
-
setManufacturerData
-
setRawData
-
setServices
-
swap
-
invalidManufacturerId
public static short invalidManufacturerId() -
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
-