java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.bluetooth.QLowEnergyAdvertisingData
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
public class QLowEnergyAdvertisingData extends QtObject implements Cloneable
Represents the data to be broadcast during Bluetooth Low Energy advertising
Java wrapper for Qt class QLowEnergyAdvertisingData
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QLowEnergyAdvertisingData.Discoverability
Java wrapper for Qt enum QLowEnergyAdvertisingData::Discoverability -
Constructor Summary
Constructors Modifier Constructor Description QLowEnergyAdvertisingData()
QLowEnergyAdvertisingData(QLowEnergyAdvertisingData other)
protected
QLowEnergyAdvertisingData(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
Modifier and Type Method Description QLowEnergyAdvertisingData
clone()
QLowEnergyAdvertisingData.Discoverability
discoverability()
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()
boolean
includePowerLevel()
static short
invalidManufacturerId()
String
localName()
QByteArray
manufacturerData()
short
manufacturerId()
QByteArray
rawData()
QList<QBluetoothUuid>
services()
void
setDiscoverability(QLowEnergyAdvertisingData.Discoverability mode)
void
setIncludePowerLevel(boolean doInclude)
void
setLocalName(String name)
void
setManufacturerData(short id, QByteArray data)
void
setRawData(QByteArray data)
void
setServices(Collection<QBluetoothUuid> services)
void
swap(QLowEnergyAdvertisingData other)
-
Constructor Details
-
QLowEnergyAdvertisingData
public QLowEnergyAdvertisingData() -
QLowEnergyAdvertisingData
-
QLowEnergyAdvertisingData
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
discoverability
-
includePowerLevel
-
localName
-
manufacturerData
-
manufacturerId
-
rawData
-
services
-
setDiscoverability
@QtUninvokable public final void setDiscoverability(QLowEnergyAdvertisingData.Discoverability mode) -
setIncludePowerLevel
-
setLocalName
-
setManufacturerData
-
setRawData
-
setServices
-
swap
-
invalidManufacturerId
public static short invalidManufacturerId() -
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
-
clone
-