Bluetooth MediaEndpoint.
More...
|
void | configurationCleared (const QString &transportObjectPath) |
| Indicates that configuration was cleared for transport.
|
|
void | configurationSelected (const QByteArray &capabilities, const QByteArray &configuration) |
| Indicates that configuration was selected.
|
|
void | configurationSet (const QString &transportObjectPath, const QVariantMap &properties) |
| Indicates that configuration was set for transport.
|
|
Bluetooth MediaEndpoint.
This class represents a Bluetooth MediaEndpoint.
◆ Codec
◆ Role
◆ MediaEndpoint()
BluezQt::MediaEndpoint::MediaEndpoint |
( |
const Configuration & |
configuration, |
|
|
QObject * |
parent = nullptr |
|
) |
| |
|
explicit |
◆ ~MediaEndpoint()
BluezQt::MediaEndpoint::~MediaEndpoint |
( |
| ) |
|
|
override |
◆ clearConfiguration()
virtual void BluezQt::MediaEndpoint::clearConfiguration |
( |
const QString & |
transportObjectPath | ) |
|
|
virtual |
Clear transport configuration.
◆ configurationCleared
void BluezQt::MediaEndpoint::configurationCleared |
( |
const QString & |
transportObjectPath | ) |
|
|
signal |
Indicates that configuration was cleared for transport.
◆ configurationSelected
void BluezQt::MediaEndpoint::configurationSelected |
( |
const QByteArray & |
capabilities, |
|
|
const QByteArray & |
configuration |
|
) |
| |
|
signal |
Indicates that configuration was selected.
◆ configurationSet
void BluezQt::MediaEndpoint::configurationSet |
( |
const QString & |
transportObjectPath, |
|
|
const QVariantMap & |
properties |
|
) |
| |
|
signal |
Indicates that configuration was set for transport.
◆ objectPath()
virtual QDBusObjectPath BluezQt::MediaEndpoint::objectPath |
( |
| ) |
const |
|
virtual |
◆ properties()
virtual const QVariantMap & BluezQt::MediaEndpoint::properties |
( |
| ) |
const |
|
virtual |
Properties of the endpoint.
- Returns
- Properties of the endpoint
◆ release()
virtual void BluezQt::MediaEndpoint::release |
( |
| ) |
|
|
virtual |
Indicates that the MediaEndpoint was unregistered.
This method gets called when the Bluetooth daemon unregisters the MediaEndpoint.
An MediaEndpoint can use it to do cleanup tasks. There is no need to unregister the MediaEndpoint, because when this method gets called it has already been unregistered.
◆ selectConfiguration()
virtual void BluezQt::MediaEndpoint::selectConfiguration |
( |
const QByteArray & |
capabilities, |
|
|
const Request< QByteArray > & |
request |
|
) |
| |
|
virtual |
Select preferable configuration from the supported capabilities.
- Note
- There is no need to cache the selected configuration since on success the configuration is send back as parameter of SetConfiguration.
- Parameters
-
capabilities | supported capabilities |
request | request to be used for sending reply |
◆ setConfiguration()
virtual void BluezQt::MediaEndpoint::setConfiguration |
( |
const QString & |
transportObjectPath, |
|
|
const QVariantMap & |
properties |
|
) |
| |
|
virtual |
Set configuration for the transport.
- Parameters
-
transport | transport to be configured |
properties | properties to be set for transport |