MediaDevice QML Type

MediaDevice is the base item for all Media Devices. More...

Import Statement: import QtInterfaceFramework.Media 1.0
Instantiates: QIfMediaDevice
Inherited By:



Detailed Description

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 MediaDeviceDiscoveryModel, which asks the backend which devices it knows of that are currently connected to the Interface Framework system.

Supported Media Devices

The following media devices are supported by the QIfMedia module:


Represents a USB device connected to the system

Property Documentation

[read-only] name : string

The name of the media device. E.g. the CD-name or the name of the thumbdrive.

[read-only] type : string

The type of the media device. E.g. "usb", "CD". See QmlSupportedMediaDevices for the supported Devices.

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