| class MNcdPurchaseDownloadInfo |
Interface for purchase download information.
| Public Member Functions | |
|---|---|
| const TDesC & | ActivationKey() |
| TInt32 | AttributeInt32L(TDownloadAttribute) |
| const TDesC & | AttributeStringL(TDownloadAttribute) |
| const TDesC & | ContentMimeType() |
| TInt | ContentSize() |
| const TDesC & | ContentUri() |
| TContentUsage | ContentUsage() |
| TInt | ContentValidityDelta() |
| const TDesC8 & | DescriptorData() |
| const TDesC & | DescriptorName() |
| const TDesC & | DescriptorType() |
| const TDesC & | DescriptorUri() |
| const TDesC & | InstallNotificationUri() |
| TBool | IsLaunchable() |
| const TDesC & | RightsType() |
| const TDesC & | RightsUri() |
| Protected Member Functions | |
|---|---|
| ~MNcdPurchaseDownloadInfo() | |
| Public Member Enumerations | |
|---|---|
| enum | TContentUsage { EDownloadable = 0, EConsumable, EDependency, EUpgrade, ELauncher, ELauncherOpen } |
| enum | TDownloadAttribute { EDownloadAttributeDependencyName = 0, EDownloadAttributeRequiredDownload, EDownloadAttributeInternal } |
| TInt32 | AttributeInt32L | ( | TDownloadAttribute | aAttribute | ) | const [pure virtual] |
Integer attribute getter
| TDownloadAttribute aAttribute | Attribute |
| const TDesC & | AttributeStringL | ( | TDownloadAttribute | aAttribute | ) | const [pure virtual] |
String attribute getter
| TDownloadAttribute aAttribute | Attribute |
| TInt | ContentValidityDelta | ( | ) | const [pure virtual] |
Gets the content validity delta. This is in minutes.
| const TDesC & | InstallNotificationUri | ( | ) | const [pure virtual] |
Gets the install notification URI.
Type of the content.
| EDownloadable = 0 |
Content is downloadable. |
| EConsumable |
Content is consumable. |
| EDependency |
Content is dependency. |
| EUpgrade |
Content is upgrade. |
| ELauncher |
Content is launcher application |
| ELauncherOpen |
Content is launcher application that opens a content file |
Additional attributes
These are retrieved with AttributeStringL and AttributeInt32L
Adding new attributes does not cause a binary break but removing does
| EDownloadAttributeDependencyName = 0 |
Dependency name may be set for dependency and launcher content Type: String |
| EDownloadAttributeRequiredDownload |
If non-zero or not set, this download is required, otherwise it can be skipped Type: TInt32 |
| EDownloadAttributeInternal |
Internal attribute value, DO NOT USE Note:
Add new attributes before this |
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.