QIviMediaUsbDevice Class

QIviMediaUsbDevice represents a USB device connected to the system. More...

Header: #include <QIviMediaUsbDevice>
qmake: QT += ivimedia
Instantiated By: MediaUsbDevice
Inherits: QIviMediaDevice

Reimplemented Public Functions

virtual QString type() const override

Public Slots

virtual void eject() = 0

Detailed Description

This device instance can be used as a serviceObject for other Features e.g. the QIviSearchAndBrowseModel to browse through the content. Whether a feature is supported by this device is decided by the backend implementing it.

Note: The type of this device is "usb"

Member Function Documentation

[pure virtual slot] void QIviMediaUsbDevice::eject()

Ejects the USB media device and makes sure all data is written to the thumb-drive so it can safely be removed.

[override virtual] QString QIviMediaUsbDevice::type() const

Reimplements an access function for property: QIviMediaDevice::type.

Returns "usb".