DRM::CDrmRightsInfoImpl Class Reference

class DRM::CDrmRightsInfoImpl : public CActive

Utility class for DRM related rights information handling

drmrightsinfoimpl.lib
Since
S60 v5.0

Inherits from

Constructor & Destructor Documentation

CDrmRightsInfoImpl()

CDrmRightsInfoImpl ( ) [private]

~CDrmRightsInfoImpl()

~CDrmRightsInfoImpl ( ) [virtual]

Member Functions Documentation

AppendToQueue(CDrmRightsInfoData *)

void AppendToQueue ( CDrmRightsInfoData * aData ) [private]

Parameters

CDrmRightsInfoData * aData

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

Parameters

const TDesC & aUniqueId The unique identifier or the content
ContentAccess::TIntent aIntent The intent for the rights to check
TDrmRightsInfo & aDetails Details of the rights status
MDrmAsyncObserver & aObserver Observer which gets reported of the async operation

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

Parameters

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

ConstructL()

void ConstructL ( ) [private]

DoCancel()

void DoCancel ( ) [protected, virtual]

From CActive Cancels async request.

NewL()

IMPORT_C CDrmRightsInfoImpl * NewL ( ) [static]

NewLC()

IMPORT_C CDrmRightsInfoImpl * NewLC ( ) [static]

PerformCheckRightsL(CDrmRightsInfoData &)

void PerformCheckRightsL ( CDrmRightsInfoData & aData ) [private]

Parameters

CDrmRightsInfoData & aData

PopFront()

CDrmRightsInfoData * PopFront ( ) [private]

RunError(TInt)

TInt RunError ( TInt aError ) [protected, virtual]

From CActive Called when RunL leaves

Parameters

TInt aError

RunL()

void RunL ( ) [protected, virtual]

From CActive Called when async request completes.

Member Data Documentation

CDrmUtilityCommon * iDrmUtilityCommon

CDrmUtilityCommon * iDrmUtilityCommon [private]

CDrmRightsInfoData * iFirst

CDrmRightsInfoData * iFirst [private]

CDrmRightsInfoData * iLast

CDrmRightsInfoData * iLast [private]

MDrmAsyncObserver * iObserver

MDrmAsyncObserver * iObserver [private]

RDRMRightsClient iOmaClient

RDRMRightsClient iOmaClient [private]

TInt iOperationId

TInt iOperationId [private]

RSemaphore iSemaphore

RSemaphore iSemaphore [private]