QIviMediaDevice Class

QIviMediaDevice is the base class for all media devices. More...

Header: #include <QIviMediaDevice>
qmake: QT += ivimedia
Instantiated By: MediaDevice
Inherits: QIviServiceObject
Inherited By:



  • name : const QString
  • type : const QString

Public Functions

virtual QString name() const = 0
virtual QString type() const = 0


void nameChanged(QString name)

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

Supported Media Devices

The following media devices are supported by the QIviMedia module:


Represents a USB device connected to the system

Property Documentation

name : const QString

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

Access functions:

virtual QString name() const = 0

Notifier signal:

void nameChanged(QString name)

type : const QString

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

Access functions:

virtual QString type() const = 0

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