API published in: S60 2nd Ed FP 2
Link against: drmhelper.lib
Required Capabilities
None
Exceptions
The capability DRM is required in:
CDRMHelper::Consume2( const TDesC8& aContentURI, TUint32 aRightsSpec, TDRMHelperConsumeAction anAction); If the calling process doesn't have Nokia VID and "aRightsSpec is EInstall or EPeek"
CDRMHelper::ConsumeFile2( const TDesC& aFileName, TUint32 aRightsSpec, TDRMHelperConsumeAction anAction); If the calling process doesn't have Nokia VID and "aRightsSpec is EInstall or EPeek"
CDRMHelper::ConsumeFile2( RFile& aFileHandle, TUint32 aRightsSpec, TDRMHelperConsumeAction anAction); If the calling process doesn't have Nokia VID and "aRightsSpec is EInstall or EPeek"
#include <e32base.h>
#include <ConeResLoader.h>
#include <apparc.h>
#include <rdrmhelper.h>
#include <aknserverapp.h>
#include <caf\caf.h>
#include <caf\content.h>
#include <caf\data.h>
#include <eikdialg.h>
Go to the source code of this file.
Data Structures |
|
class | CDRMHelperRightsConstraints |
Helper class for wrapping CDRMRightsConstraints. More... |
|
class | CDRMHelper |
Handles some error situations DRM-aware applications may encounter. More... |
|
Enumerations |
|
enum | TDRMHelperPreviewMediaType { EPreviewTypeAudio, EPreviewTypeVideo } |
Functions |
|
const TInt | KDRMHelperNoteMaxSize (256) |
Variables |
|
const TInt | KDRMHelperDefaultCountThreshold = 3 |
const TInt | KDRMHelperDefaultTimeThreshold = 7 |
const TInt | KDRMHelperDefaultPercentageThreshold = 10 |
|
|
|
|
|