QIfMediaDevice is the base class for all media devices. More...
|qmake:||QT += ifmedia|
A Media Device is an externally or internally connected device on which media is stored. It can be a physical medium like a USB thumbdrive or a CD/DVD, but it could also be a DLNA Media Server running on a different machine e.g. on the rear seat entertainment system.
Media Devices can be retrieved by using the QIfMediaDeviceDiscoveryModel, which asks the backend which devices it knows of that are currently connected to the Interface Framework system.
The following media devices are supported by the QIfMedia module:
Represents a USB device connected to the system
[read-only] name : const QString
The name of the media device. E.g. the CD-name or the name of the thumbdrive.
|virtual QString||name() const = 0|
[read-only] type : const QString
The type of the media device. E.g. "usb", "CD". See SupportedMediaDevices for the supported Devices.
|virtual QString||type() const = 0|
© 2022 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.