CWmDrmOtaAccess Class Reference

class CWmDrmOtaAccess : public CBase

Provides access to WM DRM Over-the-Air Functionality

  Only one asynchronous operation can be happening at a time.
  If another call for async operation is received, this will result in
  KErrInUse leave code.

  CWmDrmOtaAccess* access( CWmDrmOtaAccess::NewL() );
  delete access;

Inherits from

Constructor & Destructor Documentation

CWmDrmOtaAccess()

CWmDrmOtaAccess()[private]

Default constructor

~CWmDrmOtaAccess()

IMPORT_C~CWmDrmOtaAccess()[virtual]

Destructor

Member Functions Documentation

CancelAllAsync()

IMPORT_C voidCancelAllAsync()

CancelAllAsync

Cancel all async methods

ConstructL()

voidConstructL()[private]

Second phase constructor

GetLicenseChallengeL(const TDesC8 &, HBufC8 *&)

IMPORT_C voidGetLicenseChallengeL(const TDesC8 &aDrmHeader,
HBufC8 *&aChallenge
)

GetLicenseChallengeL Syncronous method

Get the license challenge that can be sent to the server to fetch a license

leave
Symbian OS error codes

Parameters

const TDesC8 & aDrmHeaderIN The drm header
HBufC8 *& aChallengeOUT Resulting Challenge

GetLicenseChallengeL(const TDesC8 &, HBufC8 *&, TRequestStatus &)

IMPORT_C voidGetLicenseChallengeL(const TDesC8 &aDrmHeader,
HBufC8 *&aChallenge,
TRequestStatus &aStatus
)

GetLicenseChallengeL Asyncronous method

Get the license challenge that can be sent to the server to fetch a license

leave
Symbian OS error codes

Parameters

const TDesC8 & aDrmHeaderIN The drm header
HBufC8 *& aChallengeOUT Resulting Challenge
TRequestStatus & aStatusOUT Asyncronous request status

HandleLicenseResponseL(const TDesC8 &)

IMPORT_C voidHandleLicenseResponseL(const TDesC8 &aResponse)

HandleLicenseResponseL Syncronous method

Handle the response received from the server in correspondence to the license challenge

leave
Symbian OS error codes

Parameters

const TDesC8 & aResponseIN The license response

HandleLicenseResponseL(const TDesC8 &, TRequestStatus &)

IMPORT_C voidHandleLicenseResponseL(const TDesC8 &aResponse,
TRequestStatus &aStatus
)

GetLicenseChallengeL Asyncronous method

Handle the response received from the server in correspondence to the license challenge

leave
Symbian OS error codes

Parameters

const TDesC8 & aResponseIN The license response
TRequestStatus & aStatusOUT Asyncronous request status

NewL()

IMPORT_C CWmDrmOtaAccess *NewL()[static]

Constructors

NewLC()

IMPORT_C CWmDrmOtaAccess *NewLC()[static]

Member Data Documentation

CWmDrmOtaAccessEcomInterface * iWmDrmOtaAccessEcomInterface

CWmDrmOtaAccessEcomInterface *iWmDrmOtaAccessEcomInterface[private]

Internal interface to the WM DRM system