CDRMHelperRightsConstraints Class Reference
class CDRMHelperRightsConstraints : public CBase
|
Inherits from
-
CDRMHelperRightsConstraints
Constructor & Destructor Documentation
CDRMHelperRightsConstraints(CDRMRightsConstraints *)
~CDRMHelperRightsConstraints()
IMPORT_C
|
~CDRMHelperRightsConstraints
|
(
|
)
|
|
Member Functions Documentation
ConstructL()
void
|
ConstructL
|
(
|
)
|
[private]
|
By default Symbian 2nd phase constructor is private.
FullRights()
IMPORT_C
TBool
|
FullRights
|
(
|
)
|
|
checks if the object contains any restrictions or if usage is unconstrained.
GetAccumulatedTimeL(TTimeIntervalSeconds &)
Gets accumulated time left. Leaves with KErrNotFound if object doesn't have accumulated time constraint.
-
Since
-
Series 60 3.0
GetCountersL(TUint32 &, TUint32 &)
IMPORT_C void
|
GetCountersL
|
(
|
TUint32
&
|
aCounter,
|
|
TUint32
&
|
aOriginalCounter
|
|
)
|
|
Gets number of counts left and number of original counts. Leaves with KErrNotFound if object doesn't have count based rights.
GetEndTimeL(TTime &)
IMPORT_C void
|
GetEndTimeL
|
(
|
TTime
&
|
aEndTime
|
)
|
|
Gets end time of time based rights. Leaves with KErrNotFound if object doesn't have time based rights.
GetIntervalL(TTimeIntervalSeconds &)
Gets interval time constraint. Leaves with KErrNotFound if object doesn't have interval constraint.
GetIntervalStartL(TTime &)
IMPORT_C void
|
GetIntervalStartL
|
(
|
TTime
&
|
aStartTime
|
)
|
|
Gets start time of activated interval constraint. Leaves with KErrNotFound if interval has not been started yet.
GetStartTimeL(TTime &)
IMPORT_C void
|
GetStartTimeL
|
(
|
TTime
&
|
aStartTime
|
)
|
|
Gets start time of time based rights. Leaves with KErrNotFound if object doesn't have time based rights.
GetTimedCountL(TUint32 &, TUint32 &, TTimeIntervalSeconds &)
Gets number of counts left, number of original counts and timer value for timed-count constraint. Leaves with KErrNotFound if object doesn't have timed-count constraint.
-
Since
-
Series 60 3.0
IsPreview()
IMPORT_C
TBool
|
IsPreview
|
(
|
)
|
|
checks if the object contains only preview rights
NewL(CDRMRightsConstraints *)
NewLC(CDRMRightsConstraints *)
Member Data Documentation
CDRMRightsConstraints * iConstraints
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.