DRM::CDrmUtilityCommon Class Reference

class DRM::CDrmUtilityCommon : public CBase

Utility class for DRM related common functions

drmutilitycommon.lib
Since
S60 v5.0

Inherits from

Constructor & Destructor Documentation

CDrmUtilityCommon()

CDrmUtilityCommon ( ) [private]

~CDrmUtilityCommon()

~CDrmUtilityCommon ( ) [virtual]

Destructor

Member Functions Documentation

ConstructL()

void ConstructL ( ) [private]

GetOmaRightsStatusL(HBufC8 *&, ContentAccess::TIntent, CDRMConstraint *)

IMPORT_C TDrmRightsInfo GetOmaRightsStatusL ( HBufC8 *& aContentUri,
ContentAccess::TIntent aIntent,
CDRMConstraint * aConstraint
)

Checks the rights and their status for a specific unique id implementation

leave
System wide error code
ContentAccess:TIntent

Parameters

HBufC8 *& aContentUri The unique identifier or the content
ContentAccess::TIntent aIntent The intent for the rights to check
CDRMConstraint * aConstraint A Constraint of the future rights, must be initialized

NewL()

IMPORT_C CDrmUtilityCommon * NewL ( ) [static]

Creates a new CDrmUtilityCommon object and returns a pointer to it

leave
System wide error code

NewLC()

IMPORT_C CDrmUtilityCommon * NewLC ( ) [static]

Creates a new CDrmUtilityCommon object and returns a pointer to it leaves the returned object to the cleanup stack

leave
System wide error code

Member Data Documentation

RDRMRightsClient iOmaClient

RDRMRightsClient iOmaClient [private]