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

CancelAllAsync

Cancel all async methods

ConstructL()

void ConstructL ( ) [private]

Second phase constructor

GetLicenseChallengeL(const TDesC8 &, HBufC8 *&)

IMPORT_C void GetLicenseChallengeL ( 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 & aDrmHeader IN The drm header
HBufC8 *& aChallenge OUT Resulting Challenge

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

IMPORT_C void GetLicenseChallengeL ( 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 & aDrmHeader IN The drm header
HBufC8 *& aChallenge OUT Resulting Challenge
TRequestStatus & aStatus OUT Asyncronous request status

HandleLicenseResponseL(const TDesC8 &)

IMPORT_C void HandleLicenseResponseL ( 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 & aResponse IN The license response

HandleLicenseResponseL(const TDesC8 &, TRequestStatus &)

IMPORT_C void HandleLicenseResponseL ( 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 & aResponse IN The license response
TRequestStatus & aStatus OUT 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