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 *)

voidAppendToQueue(CDrmRightsInfoData *aData)[private]

Parameters

CDrmRightsInfoData * aData

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

Parameters

const TDesC & aUniqueIdThe unique identifier or the content
ContentAccess::TIntent aIntentThe intent for the rights to check
TDrmRightsInfo & aDetailsDetails of the rights status
MDrmAsyncObserver & aObserverObserver which gets reported of the async operation

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

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()

voidConstructL()[private]

DoCancel()

voidDoCancel()[protected, virtual]

From CActive Cancels async request.

NewL()

IMPORT_C CDrmRightsInfoImpl *NewL()[static]

NewLC()

IMPORT_C CDrmRightsInfoImpl *NewLC()[static]

PerformCheckRightsL(CDrmRightsInfoData &)

voidPerformCheckRightsL(CDrmRightsInfoData &aData)[private]

Parameters

CDrmRightsInfoData & aData

PopFront()

CDrmRightsInfoData *PopFront()[private]

RunError(TInt)

TInt RunError(TIntaError)[protected, virtual]

From CActive Called when RunL leaves

Parameters

TInt aError

RunL()

voidRunL()[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]