QMediaServiceDefaultDeviceInterface Class

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

Public Functions

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

Detailed Description

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

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.

© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-5.12/qmediaservicedefaultdeviceinterface.html