#include <mm/mmcaf.h>
Link against: mmcommon.lib
| class TMMFileSource : public TMMSource |
| Public Member Functions | |
|---|---|
| TMMFileSource(const TDesC &) | |
| TMMFileSource(const TDesC &, const TDesC &) | |
| TMMFileSource(const TDesC &, const TDesC &, ContentAccess::TIntent) | |
| TMMFileSource(const TDesC &, const TDesC &, ContentAccess::TIntent, TBool) | |
| IMPORT_C const TDesC & | Name() |
A class that provides a consistent interface between filename based and file handle based API's. In particular this API:
provides support for container files with embedded content
allows enabling/disabling of Agent provided user interface features (AgentUI)
allows a client to take explicit responsibility for the execution of intent
| IMPORT_C | TMMFileSource | ( | const TDesC & | aName | ) |
Constructs a new TMMFileSource object using a filename. The Unique Id defaults to an empty descriptor. The Intent defaults to ContentAccess::EUnknown.
| Parameters | |
|---|---|
| aName | A reference to a filename descriptor. |
Constructs a new TMMFileSource object using a filename and the Unique Id of the source object within the DRM archive. The Intent defaults to ContentAccess::EUnknown.
| Parameters | |
|---|---|
| aName | A reference to a filename descriptor. |
| aUniqueId | A reference to a descriptor containing the Unique Id. |
| IMPORT_C | TMMFileSource | ( | const TDesC & | aName, |
| const TDesC & | aUniqueId, | |||
| ContentAccess::TIntent | aIntent | |||
| ) | ||||
Constructs a new TMMFileSource object using a filename and the Unique Id of the source object within the DRM archive. The Intent defaults to ContentAccess::EUnknown.
| Parameters | |
|---|---|
| aName | A reference to a filename descriptor. |
| aUniqueId | A reference to a descriptor containing the Unique Id. |
| aIntent | the Intent to use when opening the source object within the DRM archive. |
| IMPORT_C | TMMFileSource | ( | const TDesC & | aName, |
| const TDesC & | aUniqueId, | |||
| ContentAccess::TIntent | aIntent, | |||
| TBool | aEnableUI | |||
| ) | ||||
Constructs a new TMMFileHandleSource object using a file handle and the Unique Id of the source object within the DRM archive. The Intent defaults to ContentAccess::EUnknown.
| Parameters | |
|---|---|
| aName | A reference to a filename descriptor. |
| aUniqueId | A reference to a descriptor containing the Unique Id. |
| aIntent | the Intent to use when opening the source object within the DRM archive. |
| aEnableUI | a flag to enable the agent's UI. |