CDRMRightsConstraints Class Reference
class CDRMRightsConstraints : public CBase |
Constructor & Destructor Documentation
CDRMRightsConstraints(void)
IMPORT_C | CDRMRightsConstraints | ( | void | | ) | [protected] |
~CDRMRightsConstraints(void)
IMPORT_C | ~CDRMRightsConstraints | ( | void | | ) | [virtual] |
Member Functions Documentation
ConstructL(void)
IMPORT_C void | ConstructL | ( | void | | ) | [protected] |
FullRights(void)
IMPORT_C TBool | FullRights | ( | void | | ) | |
FullRights
The FullRights function checks if the object contains any restrictions or if usage is unconstrained.
GetAccumulated(TTimeIntervalSeconds &)
GetAccumulated
This function returns accumulated time constraint
GetConstraintInfo(TUint32 &, TUint32 &)
GetConstraintInfo
The fucntion retunrs expiration and constraint details of the object
GetCounters(TUint32 &, TUint32 &)
GetCounters
This function returns the current value of the count restriction and original value of the count restriction(value when the rights object was added to the rights database)
GetEndTime(TTime &)
GetEndTime
This function returns the end time constraint.
GetExpirationDetails(TTime &, TInt &)
IMPORT_C TInt | GetExpirationDetails | ( | TTime & | aEndTime, |
| TInt & | aCountsLeft |
| ) | |
GetExpirationDetails
The function returns the end time and amount of counts left of the object.
GetInterval(TTimeIntervalSeconds &)
GetInterval
This function returns interval time constraint
GetIntervalStart(TTime &)
IMPORT_C TInt | GetIntervalStart | ( | TTime & | aStartTime | ) | |
GetIntervalStart
This function returns the start time of an activated interval
GetStartTime(TTime &)
GetStartTime
This function returns the start time constraint.
GetTimedCounters(TUint32 &, TUint32 &)
GetTimedCounters
This function returns the current value of the timed count restriction and original value of the count restriction(value when the rights object was added to the rights database)
IsPreview(void)
IMPORT_C TBool | IsPreview | ( | void | | ) | |
IsPreview
The function checks if the object represents a preview constraint.
SetConstraint(CDRMConstraint &)
SetCounters(TUint32, TUint32)
SetCounters
Sets the counter instance variables of the rights constraint
SetEndTime(TTime)
SetEndTime
Sets the end time constraint.
SetInterval(TTimeIntervalSeconds)
SetInterval
Sets the interval time constraint
SetIntervalStart(TTime)
IMPORT_C TInt | SetIntervalStart | ( | TTime | aStartTime | ) | |
SetIntervalStart
Sets the interval start time constraint
SetStartTime(TTime)
SetStartTime
Sets the start time constraint.
operator=(CDRMRightsConstraints &)
operator=
Assignment operator.
Member Enumerations Documentation
Enum TConstraintPriority
Enumerators
ENoConstraints = 8 | |
ETime = 7 | |
ETimeInterval = 6 | |
ETimeIntervalCount = 5 | |
ETimeCount = 4 | |
EInterval = 3 | |
EIntervalCount = 2 | |
ECount = 1 | |
Member Data Documentation
CDRMConstraint * iConstraint
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.