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;
Constructor & Destructor Documentation
CWmDrmOtaAccess()
CWmDrmOtaAccess
|
(
|
)
|
[private]
|
~CWmDrmOtaAccess()
IMPORT_C
|
~CWmDrmOtaAccess
|
(
|
)
|
[virtual]
|
Member Functions Documentation
CancelAllAsync()
IMPORT_C void
|
CancelAllAsync
|
(
|
)
|
|
CancelAllAsync
Cancel all async methods
ConstructL()
void
|
ConstructL
|
(
|
)
|
[private]
|
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 &)
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 &)
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
|
Member Data Documentation
CWmDrmOtaAccessEcomInterface * iWmDrmOtaAccessEcomInterface
Internal interface to the WM DRM system
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.