| class TMMSource |
Base class which provides a lightweight encapsulation of a DRM protected content source.
| Public Member Functions | |
|---|---|
| IMPORT_C ContentAccess::TIntent | Intent() |
| IMPORT_C TBool | IsUIEnabled() |
| IMPORT_C TUid | SourceType() |
| IMPORT_C const TDesC & | UniqueId() |
| Protected Member Functions | |
|---|---|
| TMMSource(TUid, const TDesC &, ContentAccess::TIntent) | |
| TMMSource(TUid, const TDesC &, ContentAccess::TIntent, TBool) | |
| Private Attributes | |
|---|---|
| TBool | iEnableUI |
| ContentAccess::TIntent | iIntent |
| TInt | iReserved1 |
| TInt | iReserved2 |
| TUid | iSourceType |
| const TDesC & | iUniqueId |
| IMPORT_C | TMMSource | ( | TUid | aSourceType, |
| const TDesC & | aUniqueId, | |||
| ContentAccess::TIntent | aIntent | |||
| ) | [protected] | |||
Initialise DRM protected content source
| 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 |
| IMPORT_C | TMMSource | ( | TUid | aSourceType, |
| const TDesC & | aUniqueId, | |||
| ContentAccess::TIntent | aIntent, | |||
| TBool | aEnableUI | |||
| ) | [protected] | |||
Initialise DRM protected content source
| 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. |
| IMPORT_C ContentAccess::TIntent | Intent | ( | ) | const |
Get the Intent used to open the source object within the DRM archive.
ContentAccess::TIntent
The Intent.
| IMPORT_C TBool | IsUIEnabled | ( | ) | const |
Get the flag that indicates whether an agent's UI is enabled.
A boolean flag that has the value ETrue if the UI is enabled, EFalse otherwise
| IMPORT_C TUid | SourceType | ( | ) | const |
Get the universal identifier of the content source.
The universal identifier of the content source.
| IMPORT_C const TDesC & | UniqueId | ( | ) | const |
Get the Unique Id of the source object within the DRM archive.
A reference to a descriptor containing the Unique Id.
| TBool | iEnableUI | [private] |
Flag whether an agent's property to enable the UI may be set prior to evaluating the intent.
| ContentAccess::TIntent | iIntent | [private] |
Intent to use when opening content.
| TUid | iSourceType | [private] |
A univeral identifier to differentiate between content sources.
| const TDesC & | iUniqueId | [private] |
The Unique Id of the source object within the DRM archive.