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