Obsolete Members for QMediaContent
The following members of class QMediaContent are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.
Public Functions
(obsolete) | QMediaContent(const QMediaResourceList &resources) |
(obsolete) | QMediaContent(const QMediaResource &resource) |
(obsolete) QNetworkRequest | canonicalRequest() const |
(obsolete) QMediaResource | canonicalResource() const |
(obsolete) QUrl | canonicalUrl() const |
(obsolete) QMediaResourceList | resources() const |
Member Function Documentation
QMediaContent::QMediaContent(const QMediaResourceList &resources)
This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.
Constructs a media content with resources providing a reference to the content.
QMediaContent::QMediaContent(const QMediaResource &resource)
This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.
Constructs a media content with resource providing a reference to the content.
QNetworkRequest QMediaContent::canonicalRequest() const
This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.
Returns a QNetworkRequest that represents that canonical resource for this media content.
QMediaResource QMediaContent::canonicalResource() const
This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.
Returns a QMediaResource that represents that canonical resource for this media content.
QUrl QMediaContent::canonicalUrl() const
This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.
Returns a QUrl that represents that canonical resource for this media content.
QMediaResourceList QMediaContent::resources() const
This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.
Returns a list of alternative resources for this media content. The first item in this list is always the canonical resource.