#include <mw/DRMHelper.h>
| class CDRMHelperRightsConstraints : public CBase |
| Public Member Functions | |
|---|---|
| ~CDRMHelperRightsConstraints() | |
| IMPORT_C TBool | FullRights() |
| IMPORT_C void | GetAccumulatedTimeL(TTimeIntervalSeconds &) |
| IMPORT_C void | GetCountersL(TUint32 &, TUint32 &) |
| IMPORT_C void | GetEndTimeL(TTime &) |
| IMPORT_C void | GetIntervalL(TTimeIntervalSeconds &) |
| IMPORT_C void | GetIntervalStartL(TTime &) |
| IMPORT_C void | GetStartTimeL(TTime &) |
| IMPORT_C void | GetTimedCountL(TUint32 &, TUint32 &, TTimeIntervalSeconds &) |
| IMPORT_C TBool | IsPreview() |
| CDRMHelperRightsConstraints * | NewL(CDRMRightsConstraints *) |
| CDRMHelperRightsConstraints * | NewLC(CDRMRightsConstraints *) |
| IMPORT_C TBool | FullRights | ( | ) |
checks if the object contains any restrictions or if usage is unconstrained.
Returns: ETrue if usage is unconstrained
| IMPORT_C void | GetAccumulatedTimeL | ( | TTimeIntervalSeconds & | aAccumulatedTime | ) |
Returns: -
| IMPORT_C void | GetEndTimeL | ( | TTime & | aEndTime | ) |
Gets end time of time based rights. Leaves with KErrNotFound if object doesn't have time based rights.
Returns: -
| IMPORT_C void | GetIntervalL | ( | TTimeIntervalSeconds & | aInterval | ) |
Gets interval time constraint. Leaves with KErrNotFound if object doesn't have interval constraint.
Returns: -
| IMPORT_C void | GetIntervalStartL | ( | TTime & | aStartTime | ) |
Gets start time of activated interval constraint. Leaves with KErrNotFound if interval has not been started yet.
Returns: -
| IMPORT_C void | GetStartTimeL | ( | TTime & | aStartTime | ) |
Gets start time of time based rights. Leaves with KErrNotFound if object doesn't have time based rights.
Returns: -
| IMPORT_C void | GetTimedCountL | ( | TUint32 & | aCounter, |
| TUint32 & | aOriginalCounter, | |||
| TTimeIntervalSeconds & | aTimer | |||
| ) | ||||
Returns: -
| IMPORT_C TBool | IsPreview | ( | ) |
checks if the object contains only preview rights
Returns: ETrue if object contains only preview rights
| CDRMHelperRightsConstraints * | NewL | ( | CDRMRightsConstraints * | aConstraints | ) | [static] |
Two-phased constructor.
| CDRMHelperRightsConstraints * | NewLC | ( | CDRMRightsConstraints * | aConstraints | ) | [static] |