- 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
Nested ClassesModifier and TypeClassDescriptionstatic classStores attributes of a Bluetooth Data Element Alternativestatic enumJava wrapper for Qt enumQBluetoothServiceInfo::AttributeIdstatic enumJava wrapper for Qt enumQBluetoothServiceInfo::Protocolstatic classStores attributes of a Bluetooth Data Element Sequence -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionfinal voidassign(QBluetoothServiceInfo other) final Objectattribute(short attributeId) final QList<@QtPrimitiveType Short>clone()Creates and returns a copy of this object.final booleancontains(short attributeId) final QBluetoothDeviceInfodevice()booleanChecks for equality by checking object's hash code.inthashCode()Returns the objects's hash code computed byqHash(QBluetoothServiceInfo).final booleanfinal booleanfinal booleanisValid()final intfinal booleanOverloaded function forregisterService(io.qt.bluetooth.QBluetoothAddress)withlocalAdapter = new io.qt.bluetooth.QBluetoothAddress().final booleanregisterService(QBluetoothAddress localAdapter) final voidremoveAttribute(short attributeId) final intfinal bytefinal QList<QBluetoothUuid>final Stringfinal Stringfinal Stringfinal QBluetoothUuidfinal voidsetAttribute(short attributeId, QBluetoothUuid value) final voidsetAttribute(short attributeId, QBluetoothServiceInfo.Alternative value) final voidsetAttribute(short attributeId, QBluetoothServiceInfo.Sequence value) final voidsetAttribute(short attributeId, QBluetoothUuid.CharacteristicType value) Overloaded function forsetAttribute(short, io.qt.bluetooth.QBluetoothUuid).final voidsetAttribute(short attributeId, QBluetoothUuid.DescriptorType value) Overloaded function forsetAttribute(short, io.qt.bluetooth.QBluetoothUuid).final voidsetAttribute(short attributeId, QBluetoothUuid.ProtocolUuid value) Overloaded function forsetAttribute(short, io.qt.bluetooth.QBluetoothUuid).final voidsetAttribute(short attributeId, QBluetoothUuid.ServiceClassUuid value) Overloaded function forsetAttribute(short, io.qt.bluetooth.QBluetoothUuid).final voidsetAttribute(short attributeId, QUuid value) Overloaded function forsetAttribute(short, io.qt.bluetooth.QBluetoothUuid).final voidsetAttribute(short attributeId, Object value) final voidfinal voidsetServiceAvailability(byte availability) final voidsetServiceDescription(String description) final voidsetServiceName(String name) final voidsetServiceProvider(String provider) final voidsetServiceUuid(QBluetoothUuid uuid) final voidOverloaded function forsetServiceUuid(io.qt.bluetooth.QBluetoothUuid).final voidOverloaded function forsetServiceUuid(io.qt.bluetooth.QBluetoothUuid).final voidOverloaded function forsetServiceUuid(io.qt.bluetooth.QBluetoothUuid).final voidOverloaded function forsetServiceUuid(io.qt.bluetooth.QBluetoothUuid).final voidsetServiceUuid(QUuid uuid) Overloaded function forsetServiceUuid(io.qt.bluetooth.QBluetoothUuid).toString()Seeoperator<<(QDebug,QBluetoothServiceInfo) final booleanMethods 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).
-