DRM::CDrmRightsInfo Class Reference

class DRM::CDrmRightsInfo : public CBase

Utility class for DRM related rights information handling

drmrightsinfo.lib
Since
S60 v5.0

Inherits from

Constructor & Destructor Documentation

CDrmRightsInfo()

CDrmRightsInfo()[private]

~CDrmRightsInfo()

~CDrmRightsInfo()[virtual]

Destructor

Member Functions Documentation

CancelOperation(TInt)

IMPORT_C TIntCancelOperation(TIntaOperationId)

Cancel an asyncronous operation

Since
S60 v5.0

Parameters

TInt aOperationIdidentifier of the async operation to be cancelled

CheckRightsAsyncL(const TDesC &, ContentAccess::TIntent, TDrmRightsInfo &, MDrmAsyncObserver &)

IMPORT_C TIntCheckRightsAsyncL(const TDesC &aUniqueId,
ContentAccess::TIntentaIntent,
TDrmRightsInfo &aDetails,
MDrmAsyncObserver &aObserver
)

Checks the rights and their status for a specific unique id

leave
System wide error code
ContentAccess::TIntent

Parameters

const TDesC & aUniqueIdThe unique identifier of the content
ContentAccess::TIntent aIntentThe intent for the rights to check
TDrmRightsInfo & aDetailsDetails of the rights status, the details are available via this parameter, once the async call completes successfully
MDrmAsyncObserver & aObserverreference to observer

CheckRightsL(const TDesC &, ContentAccess::TIntent, TDrmRightsInfo &)

IMPORT_C voidCheckRightsL(const TDesC &aUniqueId,
ContentAccess::TIntentaIntent,
TDrmRightsInfo &aDetails
)

Checks the rights and their status for a specific unique id

leave
System wide error code
ContentAccess::TIntent

Parameters

const TDesC & aUniqueIdThe unique identifier of the content
ContentAccess::TIntent aIntentThe intent for the rights to check
TDrmRightsInfo & aDetailsDetails of the rights status

ConstructL()

voidConstructL()[private]

GetUtility()

IMPORT_C CDrmUtility &GetUtility()const

Returns a reference to a CDrmUtility instance. The ownership of the instance stays with the CDrmRightsInfo -class

Since
S60 v5.0
leave
None
CDrmUtility

NewL()

IMPORT_C CDrmRightsInfo *NewL()[static]

Creates a new CDrmRightsInfo object and returns a pointer to it

leave
System wide error code

NewLC()

IMPORT_C CDrmRightsInfo *NewLC()[static]

Creates a new CDrmRightsInfo object and returns a pointer to it Leaves the pointer to the cleanup stack

leave
System wide error code

Member Data Documentation

CDrmRightsInfoImpl * iImplementation

CDrmRightsInfoImpl *iImplementation[private]

Implementation class pointer Owned

CDrmUtility * iUtility

CDrmUtility *iUtility[private]

CDrmUtility class pointer Owned