CMediaDataBase Class Reference
class CMediaDataBase : public CBase |
Constructor & Destructor Documentation
~CMediaDataBase()
~CMediaDataBase | ( | ) | [inline, virtual] |
Member Functions Documentation
Bytes()
TInt
| Bytes | ( | ) | const [pure virtual] |
Get size of this class including actual memory occupied by descriptors.
DesRemovable()
TBool
| DesRemovable | ( | ) | const [inline] |
Get Destination Removable.
DestFilename()
TPtrC
| DestFilename | ( | ) | const [inline] |
Get Destination Filename.
DownloadedSize()
TInt
| DownloadedSize | ( | ) | const [inline] |
ExternalizeL(RWriteStream &)
Writes 'this' to the stream.
GlobalErrorId()
TInt
| GlobalErrorId | ( | ) | const [inline] |
HasType(const TDesC8 &)
Check if aType appears in the type list.
Parameters
const TDesC8 & aType | Type to find. |
InternalizeL(RReadStream &)
Initializes 'this' from stream.
LastErrorId()
TInt
| LastErrorId | ( | ) | const [inline] |
Method()
TInt
| Method | ( | ) | const [inline] |
Name()
TPtrC
| Name | ( | ) | const [inline] |
Pausable()
TBool
| Pausable | ( | ) | const [inline] |
ProgressiveDownload()
TBool
| ProgressiveDownload | ( | ) | const [inline] |
ProgressiveDownload (DD specific).
RedirUrl()
TPtrC8
| RedirUrl | ( | ) | const [inline] |
Redirected()
TBool
| Redirected | ( | ) | const [inline] |
ResetTypes()
void | ResetTypes | ( | ) | [pure virtual] |
Result()
TInt
| Result | ( | ) | const [inline] |
Gets the result of Media Object @ return iResult
SetDesRemovable(TInt32)
void | SetDesRemovable | ( | TInt32 | aDesRemovable | ) | [pure virtual] |
Set destination removable attribute.
Parameters
TInt32 aDesRemovable | Whether removable media drive. |
SetDestFilenameL(const TDesC &)
TBool
| SetDestFilenameL | ( | const TDesC & | aDestFilename | ) | [pure virtual] |
Set destination filename attribute.
Parameters
const TDesC & aDestFilename | Destination filename. |
SetDownloadedSize(TInt)
TBool
| SetDownloadedSize | ( | TInt | aDownloadedSize | ) | [pure virtual] |
Set downloaded size attribute.
Parameters
TInt aDownloadedSize | Downloaded size of the media object. |
SetGlobalErrorId(TInt)
void | SetGlobalErrorId | ( | TInt | aGlobalErrorId | ) | [pure virtual] |
Set global error id attribute.
Parameters
TInt aGlobalErrorId | Global error ID. |
SetLastErrorId(TInt)
void | SetLastErrorId | ( | TInt | aLastErrorId | ) | [pure virtual] |
Set last error id attribute.
Parameters
TInt aLastErrorId | Last error ID. |
SetMethod(TInt)
void | SetMethod | ( | TInt | aMethod | ) | [pure virtual] |
Parameters
TInt aMethod | Http request method. |
SetPausable(TBool)
void | SetPausable | ( | TBool | aPausable | ) | [pure virtual] |
Parameters
TBool aPausable | Whether download pausable or not. |
SetProgressiveDownload(TBool)
void | SetProgressiveDownload | ( | TBool | aProgressiveDl | ) | [pure virtual] |
Set Progressive download attribute.
Parameters
TBool aProgressiveDl | Progressive Download setting. |
SetRedirUrlL(const TDesC8 &)
TBool
| SetRedirUrlL | ( | const TDesC8 & | aRedirUrl | ) | [pure virtual] |
Parameters
const TDesC8 & aRedirUrl | Redirected Url. |
SetRedirected(TBool)
void | SetRedirected | ( | TBool | aRedirected | ) | [pure virtual] |
Set Progressive download attribute.
Parameters
TBool aRedirected | Whether redirected or not. |
SetResult(TInt)
void | SetResult | ( | TInt | aResult | ) | [pure virtual] |
SetSourceUriL(const TDesC8 &)
void | SetSourceUriL | ( | const TDesC8 & | aSourceUri | ) | [pure virtual] |
Parameters
const TDesC8 & aSourceUri | Source URI. |
SetState(TMediaObjectState)
SetStatusCode(TInt)
void | SetStatusCode | ( | TInt | aStatusCode | ) | [pure virtual] |
Set StatusCode attribute.
SetTempFilenameL(const TDesC &)
TBool
| SetTempFilenameL | ( | const TDesC & | aTempFilename | ) | [pure virtual] |
Set Temp filename attribute.
Parameters
const TDesC & aTempFilename | TempPath filename. |
SetTypeL(const TDesC8 &)
Set Type attribute (replace all).
Size()
TInt
| Size | ( | ) | const [inline] |
SourceUri()
TPtrC8
| SourceUri | ( | ) | const [inline] |
State()
Get media state attribute.
StatusCode()
TInt
| StatusCode | ( | ) | const [inline] |
Gets the StatusCode of Media Object @ return iStatusCode
TempFilename()
TPtrC
| TempFilename | ( | ) | const [inline] |
TypesCount()
TInt
| TypesCount | ( | ) | const [inline] |
Get number of elements in the type list.
Member Data Documentation
TInt32
iDesRemovableStatus
TInt32
| iDesRemovableStatus | [protected] |
HBufC * iDestFilename
HBufC * | iDestFilename | [protected] |
TInt
iDownloadedSize
TInt
| iDownloadedSize | [protected] |
TInt
iGlobalErrorId
TInt
| iGlobalErrorId | [protected] |
TInt
iLastErrorId
TInt
| iLastErrorId | [protected] |
TBool
iPausable
TBool
| iPausable | [protected] |
TBool
iProgressiveDl
TBool
| iProgressiveDl | [protected] |
TBool
iRedirected
TBool
| iRedirected | [protected] |
TInt
iStatusCode
TInt
| iStatusCode | [protected] |
HBufC * iTempFilename
HBufC * | iTempFilename | [protected] |
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.