libsolidcontrol
Solid::Control::BluetoothAuthorizationAgent Class Reference
#include <bluetoothsecurity.h>
Inheritance diagram for Solid::Control::BluetoothAuthorizationAgent:

Detailed Description
This is the interface a class must implement to act as an Authorization Agent.An Authorization Agent handles requests to access local services from a remote device.
Definition at line 105 of file bluetoothsecurity.h.
Public Slots | |
virtual bool | authorize (const QString &localUbi, const QString &remoteAddress, const QString &serviceUuid)=0 |
virtual void | cancel (const QString &localUbi, const QString &remoteAddress, const QString &serviceUuid)=0 |
Public Member Functions | |
BluetoothAuthorizationAgent (QObject *parent) |
Constructor & Destructor Documentation
Solid::Control::BluetoothAuthorizationAgent::BluetoothAuthorizationAgent | ( | QObject * | parent | ) |
Used to keep the QObject deletion chain working.
- Parameters:
-
parent The parent of this object that will take care of deletion.
Definition at line 133 of file bluetoothsecurity.cpp.
Member Function Documentation
virtual bool Solid::Control::BluetoothAuthorizationAgent::authorize | ( | const QString & | localUbi, | |
const QString & | remoteAddress, | |||
const QString & | serviceUuid | |||
) | [pure virtual, slot] |
This method gets called when the bluetooth system wants to get an authorization for accessing a local service.
- Parameters:
-
localUbi Universal Bluetooth Identifier of the local device providing the service remoteAddress of the remote device that wants to use our services serviceUuid Universal unique identifier for the local service
- Returns:
- whether the remote device is authorized to use the local service.
virtual void Solid::Control::BluetoothAuthorizationAgent::cancel | ( | const QString & | localUbi, | |
const QString & | remoteAddress, | |||
const QString & | serviceUuid | |||
) | [pure virtual, slot] |
Cancels the currently active authorization request for the given local/remote device.
- Parameters:
-
localUbi Universal Bluetooth Identifier of the local device providing the service remoteAddress of the remote device that wanted to use our services but canceled before completion. serviceUuid Universal unique identifier for the local service
The documentation for this class was generated from the following files: