ContentAccess::CRightsInfo Class Reference
class ContentAccess::CRightsInfo : public CBase
|
Rights class to store a summary description of the rights and a unique reference to the rights object within an Agent
Inherits from
-
ContentAccess::CRightsInfo
Constructor & Destructor Documentation
CRightsInfo()
CRightsInfo
|
(
|
)
|
[private]
|
CRightsInfo(TInt, TRightsStatus)
CRightsInfo
|
(
|
TInt
|
aRightsType,
|
|
TRightsStatus
|
aRightsStatus
|
|
)
|
[private]
|
Parameters
TInt
aRightsType
|
|
TRightsStatus
aRightsStatus
|
|
~CRightsInfo()
~CRightsInfo
|
(
|
)
|
[virtual]
|
Member Functions Documentation
ConstructL(const TDesC &, const TDesC &)
void
|
ConstructL
|
(
|
const
TDesC
&
|
aDescription,
|
|
const
TDesC
&
|
aUniqueId
|
|
)
|
[private]
|
Parameters
const
TDesC
& aDescription
|
|
const
TDesC
& aUniqueId
|
|
Description()
IMPORT_C const
TDesC
&
|
Description
|
(
|
)
|
const
|
returns a string describing the rights object
-
capability
-
DRM Access to DRM rights is not permitted for processes without DRM capability.
ExternalizeL(RWriteStream &)
InternalizeL(RReadStream &)
NewL(const TDesC &, const TDesC &, TInt, TRightsStatus)
IMPORT_C
CRightsInfo
*
|
NewL
|
(
|
const
TDesC
&
|
aDescription,
|
|
const
TDesC
&
|
aUniqueId,
|
|
TInt
|
aRightsTypeMask,
|
|
TRightsStatus
|
aRightsStatus
|
|
)
|
[static]
|
Parameters
const
TDesC
& aDescription
|
A generic text description of the rights supplied by the agent "Content XYZ Expiry date mm/dd/yy" etc
|
const
TDesC
& aUniqueId
|
A uniqueId used to refer to this particular rights object within the agent it came from
|
TInt
aRightsTypeMask
|
A bitmask of TRightsType entries applicable to this rights object
|
TRightsStatus
aRightsStatus
|
The current status of this rights object
|
RightsStatus()
IMPORT_C
TRightsStatus
|
RightsStatus
|
(
|
)
|
const
|
The state of the rights
ContentAccess::TRightsStatus
-
capability
-
DRM Access to DRM rights is not permitted for processes without DRM capability.
RightsType()
IMPORT_C
TInt
|
RightsType
|
(
|
)
|
const
|
Returns a bit mask of TRightsTypeMask flags. A rights object can be stateless and/or consumable
ContentAccess::TRightsTypeMask
-
capability
-
DRM Access to DRM rights is not permitted for processes without DRM capability.
UniqueId()
IMPORT_C const
TDesC
&
|
UniqueId
|
(
|
)
|
const
|
returns a string with a unique Id used to identify a particular rights object
-
capability
-
DRM Access to DRM rights is not permitted for processes without DRM capability.
Member Data Documentation
HBufC * iDescription
HBufC
*
|
iDescription
|
[private]
|
TRightsStatus
iRightsStatus
TRightsStatus
|
iRightsStatus
|
[private]
|
TInt
iRightsType
TInt
|
iRightsType
|
[private]
|
HBufC * iUniqueId
HBufC
*
|
iUniqueId
|
[private]
|
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.