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 TInt CancelOperation ( TInt aOperationId )

Cancel an asyncronous operation

Since
S60 v5.0

Parameters

TInt aOperationId identifier of the async operation to be cancelled

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

IMPORT_C TInt CheckRightsAsyncL ( const TDesC & aUniqueId,
ContentAccess::TIntent aIntent,
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 & aUniqueId The unique identifier of the content
ContentAccess::TIntent aIntent The intent for the rights to check
TDrmRightsInfo & aDetails Details of the rights status, the details are available via this parameter, once the async call completes successfully
MDrmAsyncObserver & aObserver reference to observer

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

IMPORT_C void CheckRightsL ( const TDesC & aUniqueId,
ContentAccess::TIntent aIntent,
TDrmRightsInfo & aDetails
)

Checks the rights and their status for a specific unique id

leave
System wide error code
ContentAccess::TIntent

Parameters

const TDesC & aUniqueId The unique identifier of the content
ContentAccess::TIntent aIntent The intent for the rights to check
TDrmRightsInfo & aDetails Details of the rights status

ConstructL()

void ConstructL ( ) [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