MNcdPurchaseDownloadInfo Class Reference

class MNcdPurchaseDownloadInfo

Interface for purchase download information.

Constructor & Destructor Documentation

~MNcdPurchaseDownloadInfo()

~MNcdPurchaseDownloadInfo ( ) [protected, inline, virtual]

Member Functions Documentation

ActivationKey()

const TDesC & ActivationKey ( ) const [pure virtual]

Gets the activation key.

AttributeInt32L(TDownloadAttribute)

TInt32 AttributeInt32L ( TDownloadAttribute aAttribute ) const [pure virtual]

Integer attribute getter

leave
KErrNotFound if attribute is not set
panic
ENcdPanicIndexOutOfRange if aAttribute is invalid
panic
ENcdPanicInvalidArgument if the attribute type is not TInt32

Parameters

TDownloadAttribute aAttribute Attribute

AttributeStringL(TDownloadAttribute)

const TDesC & AttributeStringL ( TDownloadAttribute aAttribute ) const [pure virtual]

String attribute getter

leave
KErrNotFound if attribute is not set
panic
ENcdPanicIndexOutOfRange if aAttribute is invalid
panic
ENcdPanicInvalidArgument if the attribute type is not string

Parameters

TDownloadAttribute aAttribute Attribute

ContentMimeType()

const TDesC & ContentMimeType ( ) const [pure virtual]

Gets the content mime type.

ContentSize()

TInt ContentSize ( ) const [pure virtual]

Gets the content size.

ContentUri()

const TDesC & ContentUri ( ) const [pure virtual]

Gets the content URI.

ContentUsage()

TContentUsage ContentUsage ( ) const [pure virtual]

Gets the content usage type.

ContentValidityDelta()

TInt ContentValidityDelta ( ) const [pure virtual]

Gets the content validity delta. This is in minutes.

DescriptorData()

const TDesC8 & DescriptorData ( ) const [pure virtual]

Gets the descriptor data.

DescriptorName()

const TDesC & DescriptorName ( ) const [pure virtual]

Gets the descriptor name.

DescriptorType()

const TDesC & DescriptorType ( ) const [pure virtual]

Gets the descriptor type.

DescriptorUri()

const TDesC & DescriptorUri ( ) const [pure virtual]

Gets the descriptor URI.

InstallNotificationUri()

const TDesC & InstallNotificationUri ( ) const [pure virtual]

Gets the install notification URI.

IsLaunchable()

TBool IsLaunchable ( ) const [pure virtual]

Is content launchable.

RightsType()

const TDesC & RightsType ( ) const [pure virtual]

Gets the rights type.

RightsUri()

const TDesC & RightsUri ( ) const [pure virtual]

Gets the rights URI.

Member Enumerations Documentation

Enum TContentUsage

Type of the content.

Enumerators

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

Enum TDownloadAttribute

Additional attributes

These are retrieved with AttributeStringL and AttributeInt32L

Adding new attributes does not cause a binary break but removing does

Enumerators

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