- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Enables access to the attributes of a Bluetooth service
Java wrapper for Qt class QBluetoothServiceInfo
- Since:
- This class was introduced in Qt 5.2.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Stores attributes of a Bluetooth Data Element Alternativestatic enum
Java wrapper for Qt enumQBluetoothServiceInfo::AttributeId
static enum
Java wrapper for Qt enumQBluetoothServiceInfo::Protocol
static class
Stores attributes of a Bluetooth Data Element Sequence -
Constructor Summary
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionfinal void
assign
(QBluetoothServiceInfo other) final Object
attribute
(short attributeId) final QList<@QtPrimitiveType Short>
clone()
Creates and returns a copy of this object.final boolean
contains
(short attributeId) final QBluetoothDeviceInfo
device()
boolean
Checks for equality by checking object's hash code.int
hashCode()
Returns the objects's hash code computed byqHash(QBluetoothServiceInfo)
.final boolean
final boolean
final boolean
isValid()
final int
final boolean
Overloaded function forregisterService(io.qt.bluetooth.QBluetoothAddress)
withlocalAdapter = new io.qt.bluetooth.QBluetoothAddress()
.final boolean
registerService
(QBluetoothAddress localAdapter) final void
removeAttribute
(short attributeId) final int
final byte
final QList<QBluetoothUuid>
final String
final String
final String
final QBluetoothUuid
final void
setAttribute
(short attributeId, QBluetoothUuid value) final void
setAttribute
(short attributeId, QBluetoothServiceInfo.Alternative value) final void
setAttribute
(short attributeId, QBluetoothServiceInfo.Sequence value) final void
setAttribute
(short attributeId, QBluetoothUuid.CharacteristicType value) Overloaded function forsetAttribute(short, io.qt.bluetooth.QBluetoothUuid)
.final void
setAttribute
(short attributeId, QBluetoothUuid.DescriptorType value) Overloaded function forsetAttribute(short, io.qt.bluetooth.QBluetoothUuid)
.final void
setAttribute
(short attributeId, QBluetoothUuid.ProtocolUuid value) Overloaded function forsetAttribute(short, io.qt.bluetooth.QBluetoothUuid)
.final void
setAttribute
(short attributeId, QBluetoothUuid.ServiceClassUuid value) Overloaded function forsetAttribute(short, io.qt.bluetooth.QBluetoothUuid)
.final void
setAttribute
(short attributeId, QUuid value) Overloaded function forsetAttribute(short, io.qt.bluetooth.QBluetoothUuid)
.final void
setAttribute
(short attributeId, Object value) final void
final void
setServiceAvailability
(byte availability) final void
setServiceDescription
(String description) final void
setServiceName
(String name) final void
setServiceProvider
(String provider) final void
setServiceUuid
(QBluetoothUuid uuid) final void
Overloaded function forsetServiceUuid(io.qt.bluetooth.QBluetoothUuid)
.final void
Overloaded function forsetServiceUuid(io.qt.bluetooth.QBluetoothUuid)
.final void
Overloaded function forsetServiceUuid(io.qt.bluetooth.QBluetoothUuid)
.final void
Overloaded function forsetServiceUuid(io.qt.bluetooth.QBluetoothUuid)
.final void
setServiceUuid
(QUuid uuid) Overloaded function forsetServiceUuid(io.qt.bluetooth.QBluetoothUuid)
.toString()
Seeoperator<<(QDebug,
QBluetoothServiceInfo) final boolean
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QBluetoothServiceInfo
public QBluetoothServiceInfo() -
QBluetoothServiceInfo
- Parameters:
other
-
-
-
Method Details
-
attribute
- Parameters:
attributeId
-- Returns:
-
attributes
- Returns:
-
contains
- Parameters:
attributeId
-- Returns:
-
device
- Returns:
-
isComplete
- Returns:
-
isRegistered
- Returns:
-
isValid
- Returns:
-
assign
- Parameters:
other
-
-
protocolDescriptor
@QtUninvokable public final QBluetoothServiceInfo.Sequence protocolDescriptor(QBluetoothUuid.ProtocolUuid protocol) - Parameters:
protocol
-- Returns:
-
protocolServiceMultiplexer
- Returns:
-
registerService
- Parameters:
localAdapter
-- Returns:
-
removeAttribute
- Parameters:
attributeId
-
-
serverChannel
- Returns:
-
serviceAvailability
- Returns:
-
serviceClassUuids
- Returns:
-
serviceDescription
- Returns:
-
serviceName
- Returns:
-
serviceProvider
- Returns:
-
serviceUuid
- Returns:
-
setAttribute
@QtUninvokable public final void setAttribute(short attributeId, QBluetoothServiceInfo.Alternative value) - Parameters:
attributeId
-value
-
-
setAttribute
@QtUninvokable public final void setAttribute(short attributeId, QBluetoothServiceInfo.Sequence value) - Parameters:
attributeId
-value
-
-
setAttribute
- Parameters:
attributeId
-value
-
-
setAttribute
- Parameters:
attributeId
-value
-
-
setDevice
- Parameters:
info
-
-
setServiceAvailability
- Parameters:
availability
-
-
setServiceDescription
- Parameters:
description
-
-
setServiceName
- Parameters:
name
-
-
setServiceProvider
- Parameters:
provider
-
-
setServiceUuid
- Parameters:
uuid
-
-
socketProtocol
- Returns:
-
unregisterService
- Returns:
-
equals
Checks for equality by checking object's hash code. -
hashCode
Returns the objects's hash code computed byqHash(QBluetoothServiceInfo)
. -
toString
See
operator<<(QDebug,
QBluetoothServiceInfo) -
clone
Creates and returns a copy of this object.
See
QBluetoothServiceInfo::
QBluetoothServiceInfo(QBluetoothServiceInfo) -
registerService
Overloaded function for
registerService(io.qt.bluetooth.QBluetoothAddress)
withlocalAdapter = new io.qt.bluetooth.QBluetoothAddress()
. -
setAttribute
Overloaded function for
setAttribute(short, io.qt.bluetooth.QBluetoothUuid)
. -
setAttribute
@QtUninvokable public final void setAttribute(short attributeId, QBluetoothUuid.ServiceClassUuid value) Overloaded function for
setAttribute(short, io.qt.bluetooth.QBluetoothUuid)
. -
setAttribute
@QtUninvokable public final void setAttribute(short attributeId, QBluetoothUuid.CharacteristicType value) Overloaded function for
setAttribute(short, io.qt.bluetooth.QBluetoothUuid)
. -
setAttribute
@QtUninvokable public final void setAttribute(short attributeId, QBluetoothUuid.DescriptorType value) Overloaded function for
setAttribute(short, io.qt.bluetooth.QBluetoothUuid)
. -
setAttribute
Overloaded function for
setAttribute(short, io.qt.bluetooth.QBluetoothUuid)
. -
setServiceUuid
Overloaded function for
setServiceUuid(io.qt.bluetooth.QBluetoothUuid)
. -
setServiceUuid
Overloaded function for
setServiceUuid(io.qt.bluetooth.QBluetoothUuid)
. -
setServiceUuid
Overloaded function for
setServiceUuid(io.qt.bluetooth.QBluetoothUuid)
. -
setServiceUuid
Overloaded function for
setServiceUuid(io.qt.bluetooth.QBluetoothUuid)
. -
setServiceUuid
Overloaded function for
setServiceUuid(io.qt.bluetooth.QBluetoothUuid)
.
-