BluezQt 5.109.0
Properties | Public Member Functions | List of all members
BluezQt::ObexSession

OBEX session. More...

#include <BluezQt/ObexSession>

Properties

quint8 channel
 
QString destination
 
QString root
 
QString source
 
QString target
 

Public Member Functions

 ~ObexSession () override
 Destroys an ObexSession object.
 
quint8 channel () const
 Returns the Bluetooth channel.
 
QString destination () const
 Returns address of the Bluetooth device.
 
PendingCallgetCapabilities ()
 Returns the remote device capabilities.
 
QDBusObjectPath objectPath () const
 D-Bus object path of the session.
 
QString root () const
 Returns the root path.
 
QString source () const
 Returns address of the Bluetooth adapter.
 
QString target () const
 Returns the target UUID.
 
ObexSessionPtr toSharedPtr () const
 Returns a shared pointer from this.
 

Detailed Description

OBEX session.

This class represents an OBEX session.

Constructor & Destructor Documentation

◆ ~ObexSession()

BluezQt::ObexSession::~ObexSession ( )
override

Destroys an ObexSession object.

Member Function Documentation

◆ channel()

quint8 BluezQt::ObexSession::channel ( ) const

Returns the Bluetooth channel.

Returns
channel

◆ destination()

QString BluezQt::ObexSession::destination ( ) const

Returns address of the Bluetooth device.

See also
Manager::deviceForAddress() const
Returns
address of device

◆ getCapabilities()

PendingCall * BluezQt::ObexSession::getCapabilities ( )

Returns the remote device capabilities.

Possible errors: PendingCall::NotSupported, PendingCall::Failed

Returns
QString pending call

◆ objectPath()

QDBusObjectPath BluezQt::ObexSession::objectPath ( ) const

D-Bus object path of the session.

Returns
object path of session

◆ root()

QString BluezQt::ObexSession::root ( ) const

Returns the root path.

Returns
root path

◆ source()

QString BluezQt::ObexSession::source ( ) const

Returns address of the Bluetooth adapter.

See also
Manager::adapterForAddress() const
Returns
address of adapter

◆ target()

QString BluezQt::ObexSession::target ( ) const

Returns the target UUID.

Returns
target UUID

◆ toSharedPtr()

ObexSessionPtr BluezQt::ObexSession::toSharedPtr ( ) const

Returns a shared pointer from this.

Returns
ObexSessionPtr