QMediaServiceSupportedDevicesInterface Class

The QMediaServiceSupportedDevicesInterface class interface identifies the devices supported by a media service plug-in. 更多...

頭: #include <QMediaServiceSupportedDevicesInterface>
qmake: QT += multimedia

公共函數

virtual ~QMediaServiceSupportedDevicesInterface ()
virtual QString deviceDescription (const QByteArray & service , const QByteArray & device ) = 0
virtual QList<QByteArray> devices (const QByteArray & service ) const = 0

詳細描述

The QMediaServiceSupportedDevicesInterface class interface identifies the devices supported by a media service plug-in.

A QMediaServiceProviderPlugin may implement this interface.

成員函數文檔編製

[虛擬] QMediaServiceSupportedDevicesInterface:: ~QMediaServiceSupportedDevicesInterface ()

Destroys a media service supported devices interface.

[pure virtual] QString QMediaServiceSupportedDevicesInterface:: deviceDescription (const QByteArray & service , const QByteArray & device )

Returns the description of a device available for a service 類型。

[pure virtual] QList < QByteArray > QMediaServiceSupportedDevicesInterface:: devices (const QByteArray & service ) const

Returns a list of devices available for a service 類型。