QMediaServiceDefaultDeviceInterface Struct

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

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

This struct is obsolete. 提供它是为使旧源代码能继续工作。强烈建议不要在新代码中使用它。

This struct was introduced in Qt 5.3.

公共函数

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

详细描述

A QMediaServiceProviderPlugin may implement this interface.

成员函数文档编制

[虚拟] 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 类型。