![]() |
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 & uri ) | |
QMediaContent ( const QMediaResource & resource ) | |
QMediaContent ( const QMediaResourceList & resources ) | |
QMediaContent ( const QMediaContent & other ) | |
~QMediaContent () | |
QMediaResource | canonicalResource () const |
QUrl | canonicalUri () const |
QUrl | coverArtUriLarge () const |
QUrl | coverArtUriSmall () const |
bool | isNull () const |
QUrl | posterUri () const |
QMediaResourceList | resources () const |
void | setCoverArtUriLarge ( const QUrl & uri ) |
void | setCoverArtUriSmall ( const QUrl & uri ) |
void | setPosterUri ( const QUrl & uri ) |
void | setThumbnailUriLarge ( const QUrl & uri ) |
void | setThumbnailUriSmall ( const QUrl & uri ) |
QUrl | thumbnailUriLarge () const |
QUrl | thumbnailUriSmall () 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. Media content can have multiple forms or other meta-data like items attached, some examples would be different quality variants of the primary stream, or extended meta-data such as a Poster for a movie.
A non-null QMediaContent will always have a primary or canonical reference to the content available through the canonicalUri() or canonicalResource() methods, any additional resources are optional.
Constructs a null QMediaContent.
Constructs a media source with uri providing a reference to the content.
Constructs a media source with resource providing a reference to the content.
Constructs a media source with resources providing a reference to the content.
Constructs a copy of media source 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 the URI of a large cover art image for this media content.
See also setCoverArtUriLarge().
Returns the URI of a small cover art image for this media content.
See also setCoverArtUriSmall().
Returns true if this media content is null (uninitialized); false otherwise.
Returns the URI of a poster image for this media content.
See also setPosterUri().
Returns a list of alternative resources for this media content. The first item in this list is always the canonical resource.
Sets the uri of a large cover art image for this media content.
See also coverArtUriLarge().
Sets the uri of a small cover art image for this media content.
See also coverArtUriSmall().
Sets the uri of a poster image for this media content.
See also posterUri().
Sets the uri of a large thumbnail image for this media content.
See also thumbnailUriLarge().
Sets the uri of a small thumbanil image for this media content.
See also thumbnailUriSmall().
Returns the URI of a large thumbnail image for this media content.
See also setThumbnailUriLarge().
Returns the URI of a small thumbnail image for this media content.
See also setThumbnailUriSmall().
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 (Technology Preview) |