QMediaServiceDefaultDeviceInterface Struct

The QMediaServiceDefaultDeviceInterface class interface identifies the default device used by a media service plug-in. More...

Header: #include <QMediaServiceDefaultDeviceInterface>
qmake: QT += multimedia
Since: Qt 5.3

This struct is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

This struct was introduced in Qt 5.3.

Public Functions

virtual ~QMediaServiceDefaultDeviceInterface()
virtual QByteArray defaultDevice(const QByteArray &service) const = 0

Detailed Description

A QMediaServiceProviderPlugin may implement this interface.

Member Function Documentation

[virtual] QMediaServiceDefaultDeviceInterface::~QMediaServiceDefaultDeviceInterface()

Destroys a media service default device interface.

[pure virtual] QByteArray QMediaServiceDefaultDeviceInterface::defaultDevice(const QByteArray &service) const

Returns the default device for a service type.

© 2024 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.