CUpnpResParameters Class Reference
class CUpnpResParameters : public CBase |
CUpnpResParameters is created to encapsulate information that is needed in a contentdirectory res element.
dlnaprofiler.lib
- Since
- S60 v3.1
Constructor & Destructor Documentation
CUpnpResParameters()
CUpnpResParameters | ( | ) | [private] |
~CUpnpResParameters()
~CUpnpResParameters | ( | ) | [virtual] |
Member Functions Documentation
ConstructL()
void | ConstructL | ( | ) | [private] |
DurationL()
IMPORT_C HBufC8 * | DurationL | ( | ) | const |
DurationL returns the duration in the following form: duration = hours ":" minutes ":" seconds hours = 1*5 DIGIT; 0-99999 minutes = 2 DIGIT ; 00-59 seconds = 2 DIGIT ["." 3 DIGIT] ; 00-59 (.000-.999)
FileSizeL()
IMPORT_C HBufC8 * | FileSizeL | ( | ) | const |
FileSizeL returns the size of the file in bytes as descriptor.
IsAudioOrVideoFile()
IMPORT_C TBool | IsAudioOrVideoFile | ( | ) | const |
IsAudioOrVideoFile returns true if file is audio or video file, false otherwise.
IsImageFile()
IMPORT_C TBool | IsImageFile | ( | ) | const |
IsImageFile returns true if file is image file, false otherwise.
MimeType()
MimeType is a getter for mime type.
ProtocolInfo()
IMPORT_C const TDesC8 & | ProtocolInfo | ( | ) | const |
ProtocolInfo returns the protocolinfo string.
ResolutionL()
IMPORT_C HBufC8 * | ResolutionL | ( | ) | const |
ResolutionL returns the resolution in form widthXheight.
SetDurationInSeconds(const TInt64)
void | SetDurationInSeconds | ( | const TInt64 | aDuration | ) | |
SetDurationInSeconds sets the duration attribute.
SetFileSize(const TInt)
void | SetFileSize | ( | const TInt | aFileSize | ) | |
SetFileSize sets the file size attribute.
SetMimetypeL(const TDesC8 &)
void | SetMimetypeL | ( | const TDesC8 & | aMimetype | ) | |
SetMimetypeL sets the mime type attribute.
SetProtocolInfoL(const TDesC8 &)
void | SetProtocolInfoL | ( | const TDesC8 & | aProtocolInfo | ) | |
SetProtocolInfoL sets the protocolinfo attribute.
SetResolution(const TSize)
void | SetResolution | ( | const TSize | aResolution | ) | |
SetResolution sets the resolution attribute.
Member Data Documentation
TInt64
iDurationInSeconds
TInt64
| iDurationInSeconds | [private] |
HBufC8 * iProtocolInfo
HBufC8 * | iProtocolInfo | [private] |
TSize
iResolution
TSize
| iResolution | [private] |
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.