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
-
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
Returns true if data1 and data2 are equal with respect to their public state, otherwise returns falseboolean
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
Returns true if data1 and data2 are equal with respect to their public state, otherwise returns false
See
operator==(QLowEnergyAdvertisingData,
QLowEnergyAdvertisingData) - Parameters:
b
-- 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
-
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)
.
-