TMMSource Class Reference
Base class which provides a lightweight encapsulation of a DRM protected content source.
Constructor & Destructor Documentation
TMMSource(TUid, const TDesC &, ContentAccess::TIntent)
Initialise DRM protected content source
Parameters
TUid aSourceType | The source type to differentiate |
const TDesC & aUniqueId | Unique Id of the source object within the DRM archive |
ContentAccess::TIntent aIntent | Usage intent when opening content |
TMMSource(TUid, const TDesC &, ContentAccess::TIntent, TBool)
Initialise DRM protected content source
Parameters
TUid aSourceType | The source type to differentiate |
const TDesC & aUniqueId | Unique Id of the source object within the DRM archive |
ContentAccess::TIntent aIntent | Usage intent when opening content |
TBool aEnableUI | The agent's UI is enabled or not. |
Member Functions Documentation
Intent()
Get the Intent used to open the source object within the DRM archive.
ContentAccess::TIntent
IsUIEnabled()
IMPORT_C TBool | IsUIEnabled | ( | ) | const |
Get the flag that indicates whether an agent's UI is enabled.
SourceType()
IMPORT_C TUid | SourceType | ( | ) | const |
Get the universal identifier of the content source.
UniqueId()
IMPORT_C const TDesC & | UniqueId | ( | ) | const |
Get the Unique Id of the source object within the DRM archive.
Member Data Documentation
TBool
iEnableUI
Flag whether an agent's property to enable the UI may be set prior to evaluating the intent.
ContentAccess::TIntent
iIntent
Intent to use when opening content.
TInt
iReserved1
Reserved to avoid BC break.
TInt
iReserved2
Reserved to avoid BC break.
TUid
iSourceType
TUid
| iSourceType | [private] |
A univeral identifier to differentiate between content sources.
const TDesC & iUniqueId
const TDesC & | iUniqueId | [private] |
The Unique Id of the source object within the DRM archive.
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.