QMediaContent Class
The QMediaContent class provides access to the resource relating to a media content. More...
| Header: | #include <QMediaContent> |
| qmake: | QT += multimedia |
Detailed Description
QMediaContent is used within the multimedia framework as the logical handle to media content. A QMediaContent object contains a QNetworkRequest which provides the URL of the content.
A non-null QMediaContent will always have a reference to the content available through the request() method.
Alternatively QMediaContent can represent a playlist and contain a pointer to a valid QMediaPlaylist object. In this case URL is optional and can either be empty or point to the playlist URL.