BluezQt::ObexSession Class

class BluezQt::ObexSession

OBEX session. More...

Header: #include <BluezQt/ObexSession>
CMake: find_package(KF6 REQUIRED COMPONENTS BluezQt)
target_link_libraries(mytarget PRIVATE KF6::BluezQt)
Inherits: QObject

Properties

Public Functions

quint8 channel() const
QString destination() const
BluezQt::PendingCall *getCapabilities()
QDBusObjectPath objectPath() const
QString root() const
QString source() const
QString target() const
BluezQt::ObexSessionPtr toSharedPtr() const

Detailed Description

This class represents an OBEX session.

Property Documentation

[read-only] channel : const quint8

Access functions:

quint8 channel() const

[read-only] destination : const QString

Access functions:

QString destination() const

[read-only] root : const QString

Access functions:

QString root() const

[read-only] source : const QString

Access functions:

QString source() const

[read-only] target : const QString

Access functions:

QString target() const

Member Function Documentation

quint8 ObexSession::channel() const

Returns the Bluetooth channel.

Note: Getter function for property channel.

QString ObexSession::destination() const

Returns the address of the Bluetooth device.

Note: Getter function for property destination.

See also Manager::deviceForAddress().

BluezQt::PendingCall *ObexSession::getCapabilities()

Returns the remote device capabilities.

Possible errors:

Returns QString pending call.

QDBusObjectPath ObexSession::objectPath() const

Returns the D-Bus object path of the session.

QString ObexSession::root() const

Returns the root path.

Note: Getter function for property root.

QString ObexSession::source() const

Returns the address of the Bluetooth adapter.

Note: Getter function for property source.

See also Manager::adapterForAddress().

QString ObexSession::target() const

Returns the target UUID.

Note: Getter function for property target.

BluezQt::ObexSessionPtr ObexSession::toSharedPtr() const

Returns a shared pointer from this.