#include <mm/mmcaf.h>
Link against: mmcommon.lib
| class TMMSource |
| 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) | |
Base class which provides a lightweight encapsulation of a DRM protected content source.
| IMPORT_C | TMMSource | ( | TUid | aSourceType, |
| const TDesC & | aUniqueId, | |||
| ContentAccess::TIntent | aIntent | |||
| ) | [protected] | |||
Initialise DRM protected content source
| Parameters | |
|---|---|
| aSourceType | The source type to differentiate |
| aUniqueId | Unique Id of the source object within the DRM archive |
| 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
| Parameters | |
|---|---|
| aSourceType | The source type to differentiate |
| aUniqueId | Unique Id of the source object within the DRM archive |
| aIntent | Usage intent when opening content |
| 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.
See also: ContentAccess::TIntent
| IMPORT_C TBool | IsUIEnabled | ( | ) | const |
Get the flag that indicates whether an agent's UI is enabled.
| IMPORT_C TUid | SourceType | ( | ) | const |
Get 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.