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"
|
Public Member Functions |
IMPORT_C | ~CDRMHelperRightsConstraints () |
| Destructor.
|
IMPORT_C TBool | FullRights () |
| checks if the object contains any restrictions or if usage is unconstrained.
|
IMPORT_C TBool | IsPreview () |
| checks if the object contains only preview rights
|
IMPORT_C void | GetCountersL (TUint32 &aCounter, TUint32 &aOriginalCounter) |
| Gets number of counts left and number of original counts.
|
IMPORT_C void | GetStartTimeL (TTime &aStartTime) |
| Gets start time of time based rights.
|
IMPORT_C void | GetEndTimeL (TTime &aEndTime) |
| Gets end time of time based rights.
|
IMPORT_C void | GetIntervalL (TTimeIntervalSeconds &aInterval) |
| Gets interval time constraint.
|
IMPORT_C void | GetIntervalStartL (TTime &aStartTime) |
| Gets start time of activated interval constraint.
|
IMPORT_C void | GetTimedCountL (TUint32 &aCounter, TUint32 &aOriginalCounter, TTimeIntervalSeconds &aTimer) |
| Gets number of counts left, number of original counts and timer value for timed-count constraint.
|
IMPORT_C void | GetAccumulatedTimeL (TTimeIntervalSeconds &aAccumulatedTime) |
| Gets accumulated time left.
|
Static Public Member Functions |
static CDRMHelperRightsConstraints * | NewL (CDRMRightsConstraints *aConstraints) |
| Two-phased constructor.
|
static CDRMHelperRightsConstraints * | NewLC (CDRMRightsConstraints *aConstraints) |