MeeGo 1.2 Harmattan Developer Documentation Develop for the Nokia N9

QtMultimediaKit Namespace

The QtMultimediaKit namespace contains miscellaneous identifiers used throughout the Qt Media services library. More...

 #include <QtMultimediaKit>

Types

enum AvailabilityError { NoError, ServiceMissingError, ResourceError, BusyError }
enum EncodingMode { ConstantQualityEncoding, ConstantBitRateEncoding, AverageBitRateEncoding, TwoPassEncoding }
enum EncodingQuality { VeryLowQuality, LowQuality, NormalQuality, HighQuality, VeryHighQuality }
enum MetaData { Title, SubTitle, Author, Comment, ..., ThumbnailImage }
enum SupportEstimate { NotSupported, MaybeSupported, ProbablySupported, PreferredService }

Detailed Description

The QtMultimediaKit namespace contains miscellaneous identifiers used throughout the Qt Media services library.

QtMultimediaKit is a module containing the low level, low latency, Multimedia APIs which were introduced in Qt 4.6 and also includes the high level QtMultimedia APIs which were introduced in QtMobility 1.0.

Type Documentation

enum QtMultimediaKit::AvailabilityError

Enumerates Service status errors.

Constant Value Description
QtMultimediaKit::NoError 0 The service is operating correctly.
QtMultimediaKit::ServiceMissingError 1 There is no service available to provide the requested functionality.
QtMultimediaKit::ResourceError 3 The service could not allocate resources required to function correctly.
QtMultimediaKit::BusyError 2 The service must wait for access to necessary resources.

enum QtMultimediaKit::EncodingMode

Enumerates encoding modes.

Constant Value
QtMultimediaKit::ConstantQualityEncoding 0
QtMultimediaKit::ConstantBitRateEncoding 1
QtMultimediaKit::AverageBitRateEncoding 2
QtMultimediaKit::TwoPassEncoding 3

enum QtMultimediaKit::EncodingQuality

Enumerates quality encoding levels.

Constant Value
QtMultimediaKit::VeryLowQuality 0
QtMultimediaKit::LowQuality 1
QtMultimediaKit::NormalQuality 2
QtMultimediaKit::HighQuality 3
QtMultimediaKit::VeryHighQuality 4

enum QtMultimediaKit::MetaData

This enum provides identifiers for meta-data attributes.

Note: Not all identifiers are supported on all platforms. Please consult vendor documentation for specific support on different platforms.

Common attributes

Constant Value Description
QtMultimediaKit::Title 0 The title of the media. QString.
QtMultimediaKit::SubTitle 1 The sub-title of the media. QString.
QtMultimediaKit::Author 2 The authors of the media. QStringList.
QtMultimediaKit::Comment 3 A user comment about the media. QString.
QtMultimediaKit::Description 4 A description of the media. QString
QtMultimediaKit::Category 5 The category of the media. QStringList.
QtMultimediaKit::Genre 6 The genre of the media. QStringList.
QtMultimediaKit::Year 7 The year of release of the media. int.
QtMultimediaKit::Date 8 The date of the media. QDate.
QtMultimediaKit::UserRating 9 A user rating of the media. int [0..100].
QtMultimediaKit::Keywords 10 A list of keywords describing the media. QStringList.
QtMultimediaKit::Language 11 The language of media, as an ISO 639-2 code.
QtMultimediaKit::Publisher 12 The publisher of the media. QString.
QtMultimediaKit::Copyright 13 The media's copyright notice. QString.
QtMultimediaKit::ParentalRating 14 The parental rating of the media. QString.
QtMultimediaKit::RatingOrganisation 15 The organisation responsible for the parental rating of the media. QString.

Media attributes

Constant Value Description
QtMultimediaKit::Size 16 The size in bytes of the media. qint64
QtMultimediaKit::MediaType 17 The type of the media (audio, video, etc). QString.
QtMultimediaKit::Duration 18 The duration in millseconds of the media. qint64.

Audio attributes

Constant Value Description
QtMultimediaKit::AudioBitRate 19 The bit rate of the media's audio stream in bits per second. int.
QtMultimediaKit::AudioCodec 20 The codec of the media's audio stream. QString.
QtMultimediaKit::AverageLevel 21 The average volume level of the media. int.
QtMultimediaKit::ChannelCount 22 The number of channels in the media's audio stream. int.
QtMultimediaKit::PeakValue 23 The peak volume of the media's audio stream. int
QtMultimediaKit::SampleRate 24 The sample rate of the media's audio stream in hertz. int

Music attributes

Constant Value Description
QtMultimediaKit::AlbumTitle 25 The title of the album the media belongs to. QString.
QtMultimediaKit::AlbumArtist 26 The principal artist of the album the media belongs to. QString.
QtMultimediaKit::ContributingArtist 27 The artists contributing to the media. QStringList.
QtMultimediaKit::Composer 28 The composer of the media. QStringList.
QtMultimediaKit::Conductor 29 The conductor of the media. QString.
QtMultimediaKit::Lyrics 30 The lyrics to the media. QString.
QtMultimediaKit::Mood 31 The mood of the media. QString.
QtMultimediaKit::TrackNumber 32 The track number of the media. int.
QtMultimediaKit::TrackCount 33 The number of tracks on the album containing the media. int.
QtMultimediaKit::CoverArtUrlSmall 34 The URL of a small cover art image. QUrl.
QtMultimediaKit::CoverArtUrlLarge 35 The URL of a large cover art image. QUrl.
QtMultimediaKit::CoverArtImage 74 An embedded cover art image. QImage.

Image and video attributes

Constant Value Description
QtMultimediaKit::Resolution 36 The dimensions of an image or video. QSize.
QtMultimediaKit::PixelAspectRatio 37 The pixel aspect ratio of an image or video. QSize.

Video attributes

Constant Value Description
QtMultimediaKit::VideoFrameRate 38 The frame rate of the media's video stream. qreal.
QtMultimediaKit::VideoBitRate 39 The bit rate of the media's video stream in bits per second. int.
QtMultimediaKit::VideoCodec 40 The codec of the media's video stream. QString.
QtMultimediaKit::PosterUrl 41 The URL of a poster image. QUrl.
QtMultimediaKit::PosterImage 73 An embedded poster image. QImage.

Movie attributes

Constant Value Description
QtMultimediaKit::ChapterNumber 42 The chapter number of the media. int.
QtMultimediaKit::Director 43 The director of the media. QString.
QtMultimediaKit::LeadPerformer 44 The lead performer in the media. QStringList.
QtMultimediaKit::Writer 45 The writer of the media. QStringList.

Photo attributes.

Constant Value Description
QtMultimediaKit::CameraManufacturer 46 The manufacturer of the camera used to capture the media. QString.
QtMultimediaKit::CameraModel 47 The model of the camera used to capture the media. QString.
QtMultimediaKit::Event 48 The event during which the media was captured. QString.
QtMultimediaKit::Subject 49 The subject of the media. QString.
QtMultimediaKit::Orientation 50 Orientation of image.
QtMultimediaKit::ExposureTime 51 Exposure time, given in seconds.
QtMultimediaKit::FNumber 52 The F Number.
QtMultimediaKit::ExposureProgram 53 The class of the program used by the camera to set exposure when the picture is taken.
QtMultimediaKit::ISOSpeedRatings 54 Indicates the ISO Speed and ISO Latitude of the camera or input device as specified in ISO 12232.
QtMultimediaKit::ExposureBiasValue 55 The exposure bias. The unit is the APEX (Additive System of Photographic Exposure) setting.
QtMultimediaKit::DateTimeOriginal 56 The date and time when the original image data was generated.
QtMultimediaKit::DateTimeDigitized 57 The date and time when the image was stored as digital data.
QtMultimediaKit::SubjectDistance 58 The distance to the subject, given in meters.
QtMultimediaKit::MeteringMode 59 The metering mode.
QtMultimediaKit::LightSource 60 The kind of light source.
QtMultimediaKit::Flash 61 Status of flash when the image was shot.
QtMultimediaKit::FocalLength 62 The actual focal length of the lens, in mm.
QtMultimediaKit::ExposureMode 63 Indicates the exposure mode set when the image was shot.
QtMultimediaKit::WhiteBalance 64 Indicates the white balance mode set when the image was shot.
QtMultimediaKit::DigitalZoomRatio 65 Indicates the digital zoom ratio when the image was shot.
QtMultimediaKit::FocalLengthIn35mmFilm 66 Indicates the equivalent focal length assuming a 35mm film camera, in mm.
QtMultimediaKit::SceneCaptureType 67 Indicates the type of scene that was shot. It can also be used to record the mode in which the image was shot.
QtMultimediaKit::GainControl 68 Indicates the degree of overall image gain adjustment.
QtMultimediaKit::Contrast 69 Indicates the direction of contrast processing applied by the camera when the image was shot.
QtMultimediaKit::Saturation 70 Indicates the direction of saturation processing applied by the camera when the image was shot.
QtMultimediaKit::Sharpness 71 Indicates the direction of sharpness processing applied by the camera when the image was shot.
QtMultimediaKit::DeviceSettingDescription 72 Exif tag, indicates information on the picture-taking conditions of a particular camera model. QString
QtMultimediaKit::ThumbnailImage 75 An embedded thumbnail image. QImage.

enum QtMultimediaKit::SupportEstimate

Enumerates the levels of support a media service provider may have for a feature.

Constant Value Description
QtMultimediaKit::NotSupported 0 The feature is not supported.
QtMultimediaKit::MaybeSupported 1 The feature may be supported.
QtMultimediaKit::ProbablySupported 2 The feature is probably supported.
QtMultimediaKit::PreferredService 3 The service is the preferred provider of a service.