#include <mm/mmcaf.h>
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
Parameter | Description |
---|---|
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
Parameter | Description |
---|---|
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
Returns: The Intent.
IMPORT_C TBool | IsUIEnabled | ( | ) | const |
Get the flag that indicates whether an agent's UI is enabled.
Returns: 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.
Returns: 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.
Returns: A reference to a descriptor containing the Unique Id.