CUpnpResResolver Class Reference
class CUpnpResResolver : public CBase |
CUpnpResResolver is a class for resolving res field attributes for a given file.
CUpnpResResolver class can be used to resolve a res field attributes for a media file (image, AV, video). Attributes resolved for media files are:
Protocolinfo for all files.
Resolution and size for images.
Duration and size for videos.
Duration and size for music.
dlnaprofiler.lib
- Since
- S60 v3.1
Constructor & Destructor Documentation
CUpnpResResolver()
CUpnpResResolver | ( | ) | [private] |
~CUpnpResResolver()
~CUpnpResResolver | ( | ) | [virtual] |
Member Functions Documentation
ConstructL()
void | ConstructL | ( | ) | [private] |
GetAudioDurationL(const TDesC &)
void | GetAudioDurationL | ( | const TDesC & | aFilename | ) | [private] |
GetAudioDurationL obtains the duration of a audio file. After call the duration is in iDuration member variable.
GetFileSizeL(RFile &)
GetFileSizeL returns the size of file in bytes.
GetImageResolutionL(RFile &, const TDesC8 &)
GetImageResolutionL returns the resolution of the image.
GetMimetypeL(RFile &)
GetMimetypeL returns the mime type of the file.
GetResParametersL(const TDesC &)
GetResParametersL resolves parameters that will be needed in res-element attributes.
GetVideoDurationL(RFile &)
void | GetVideoDurationL | ( | RFile & | aFile | ) | [private] |
GetVideoDurationL obtains the duration of a video file. After call the duration is in iDuration member variable.
MapcInitComplete(TInt, const TTimeIntervalMicroSeconds &)
MapcPlayComplete(TInt)
void | MapcPlayComplete | ( | TInt | aError | ) | [private] |
Member Data Documentation
CMdaAudioPlayerUtility * iAudioplayer
TTimeIntervalMicroSeconds
iDuration
CActiveSchedulerWait * iWait
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.