QIfMediaDeviceDiscoveryModelBackendInterface Class

The QIfMediaDeviceDiscoveryModelBackendInterface defines the interface for backends to the QIfMediaDeviceDiscoveryModel feature class. More...

Header: #include <QIfMediaDeviceDiscoveryModelBackendInterface>
qmake: QT += ifmedia
Inherits: QIfFeatureInterface

Public Functions


void availableDevices(const QList<QIfServiceObject *> devices)
void deviceAdded(QIfServiceObject *device)
void deviceRemoved(QIfServiceObject *device)

Detailed Description

The QIfMediaDeviceDiscoveryModelBackendInterface is the interface used by QIfMediaDeviceDiscoveryModel

The interface is discovered by a QIfMediaDeviceDiscoveryModel object, which connects to it and sets it up.

<example of a fully featured backend>

Member Function Documentation

QIfMediaDeviceDiscoveryModelBackendInterface::QIfMediaDeviceDiscoveryModelBackendInterface(QObject *parent = nullptr)

Constructs a backend interface.

The parent is sent to the QObject constructor.

[signal] void QIfMediaDeviceDiscoveryModelBackendInterface::availableDevices(const QList<QIfServiceObject *> devices)

This signal is emitted after a call to initialize() and indicates all the already connected devices, which are ready to be used.

See also initialize().

[signal] void QIfMediaDeviceDiscoveryModelBackendInterface::deviceAdded(QIfServiceObject *device)

This signal is emitted when a new device is added to the system and is ready to be used.

[signal] void QIfMediaDeviceDiscoveryModelBackendInterface::deviceRemoved(QIfServiceObject *device)

This signal is emitted when a device has been removed from the system and cannot be used anymore.

© 2021 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.