![]() |
Home · All Classes · All Functions · | ![]() |
The QMediaContent class provides access to the resources relating to a media content. More...
#include <QMediaContent>
This class is under development and is subject to change.
QMediaContent () | |
QMediaContent ( const QUrl & url ) | |
QMediaContent ( const QMediaResource & resource ) | |
QMediaContent ( const QMediaResourceList & resources ) | |
QMediaContent ( const QMediaContent & other ) | |
~QMediaContent () | |
QMediaResource | canonicalResource () const |
QUrl | canonicalUrl () const |
bool | isNull () const |
QMediaResourceList | resources () const |
bool | operator!= ( const QMediaContent & other ) const |
QMediaContent & | operator= ( const QMediaContent & other ) |
bool | operator== ( const QMediaContent & other ) const |
The QMediaContent class provides access to the resources relating to a media content.
QMediaContent is used within the multimedia framework as the logical handle to media content. A QMediaContent object is composed of one or more QMediaResources where each resource provides the URL and format information of a different encoding of the content.
A non-null QMediaContent will always have a primary or canonical reference to the content available through the canonicalUrl() or canonicalResource() methods, any additional resources are optional.
Constructs a null QMediaContent.
Constructs a media content with url providing a reference to the content.
Constructs a media content with resource providing a reference to the content.
Constructs a media content with resources providing a reference to the content.
Constructs a copy of the media content other.
Destroys the media content object.
Returns a QMediaResource that represents that canonical resource for this media content.
Returns a QUrl that represents that canonical resource for this media content.
Returns true if this media content is null (uninitialized); false otherwise.
Returns a list of alternative resources for this media content. The first item in this list is always the canonical resource.
Returns true if other is not equivalent to this media content; false otherwise.
Assigns the value of other to this media content.
Returns true if other is equivalent to this media content; false otherwise.
Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies) | Trademarks | Qt Mobility Project 1.0.0 |