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 class QLowEnergyAdvertisingData
- Since:
- This class was introduced in Qt 5.7.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQLowEnergyAdvertisingData::Discoverability
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal void
assign
(QLowEnergyAdvertisingData other) clone()
Creates and returns a copy of this object.final boolean
equals
(QLowEnergyAdvertisingData data2) Seeoperator==(QLowEnergyAdvertisingData,
QLowEnergyAdvertisingData) boolean
Seeoperator==(QLowEnergyAdvertisingData,
QLowEnergyAdvertisingData) int
hashCode()
Returns the objects's hash code computed byqHash(QLowEnergyAdvertisingData)
.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, byte [] data) Overloaded function forsetManufacturerData(short, io.qt.core.QByteArray)
.final void
setManufacturerData
(short id, QByteArray data) final void
setRawData
(byte [] data) Overloaded function forsetRawData(io.qt.core.QByteArray)
.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
- Parameters:
other
-
-
-
Method Details
-
discoverability
- Returns:
-
includePowerLevel
- Returns:
-
localName
- Returns:
-
manufacturerData
- Returns:
-
manufacturerId
- Returns:
-
assign
- Parameters:
other
-
-
equals
See
operator==(QLowEnergyAdvertisingData,
QLowEnergyAdvertisingData) - Parameters:
data2
-- Returns:
-
rawData
- Returns:
-
services
- Returns:
-
setDiscoverability
- Parameters:
mode
-
-
setIncludePowerLevel
- Parameters:
doInclude
-
-
setLocalName
- Parameters:
name
-
-
setManufacturerData
- Parameters:
id
-data
-
-
setRawData
- Parameters:
data
-
-
setServices
- Parameters:
services
-
-
swap
- Parameters:
other
-
-
invalidManufacturerId
public static short invalidManufacturerId()- Returns:
-
equals
See
operator==(QLowEnergyAdvertisingData,
QLowEnergyAdvertisingData) -
hashCode
Returns the objects's hash code computed byqHash(QLowEnergyAdvertisingData)
. -
clone
Creates and returns a copy of this object.
See
QLowEnergyAdvertisingData::
QLowEnergyAdvertisingData(QLowEnergyAdvertisingData) -
setManufacturerData
Overloaded function for
setManufacturerData(short, io.qt.core.QByteArray)
. -
setRawData
Overloaded function for
setRawData(io.qt.core.QByteArray)
.
-