5#ifndef DBLUETOOTHOBEXMANAGER_H
6#define DBLUETOOTHOBEXMANAGER_H
12DBLUETOOTH_BEGIN_NAMESPACE
14using DTK_CORE_NAMESPACE::DExpected;
15using DTK_CORE_NAMESPACE::DObject;
19class DObexManagerPrivate;
28 Q_PROPERTY(
bool available READ available CONSTANT)
30 bool available() const;
33 DExpected<
ObexSessionInfo> createSession(const QString &destination, const QVariantMap &args) const;
34 DExpected<
void> removeSession(const QSharedPointer<
DObexSession> session) const;
35 DExpected<
void> registerAgent(const QSharedPointer<
DObexAgent> &agent) const;
36 DExpected<
void> unregisterAgent(const QSharedPointer<
DObexAgent> &agent) const;
49DBLUETOOTH_END_NAMESPACE
对于自定义蓝牙obex代理的封装
Definition: dbluetoothobexagent.h:18
蓝牙obex管理类
Definition: dbluetoothobexmanager.h:22
蓝牙obex会话类
Definition: dbluetoothobexsession.h:24
传输会话的信息
Definition: dbluetoothtypes.h:23