CMmsApplicationAdapter Class Reference

class CMmsApplicationAdapter : public CBase
mmsappadapter.lib
Since
3.0

Inherits from

  • CMmsApplicationAdapter

Constructor & Destructor Documentation

CMmsApplicationAdapter()

CMmsApplicationAdapter()[private]
C++ default constructor. C++ default constructor can NOT contain any code, that might leave.
Since
3.0

~CMmsApplicationAdapter()

~CMmsApplicationAdapter()[virtual]

Destructor.

Member Functions Documentation

ApplicationIdL(TMsvId)

IMPORT_C TPtrC16ApplicationIdL(TMsvIdaMmId)

Application ID

Since
3.0

Parameters

TMsvId aMmIdIndex to the multimedia message

ConstructL()

voidConstructL()[private]
By default Symbian 2nd phase constructor is private.
Since
3.0

DeleteL(TMsvId)

IMPORT_C TIntDeleteL(TMsvIdaMmId)

Delete the specified MM.

Since
3.0

Parameters

TMsvId aMmIdIndex to the MM, which will be deleted.

FolderIdL(const TDesC &)

IMPORT_C TMsvIdFolderIdL(const TDesC &aApplicationId)

Folder Entry ID

Since
3.0

Parameters

const TDesC & aApplicationIdapplication id

HandleSessionEventL(TMsvSessionEvent, TAny *, TAny *, TAny *)

voidHandleSessionEventL(TMsvSessionEventaEvent,
TAny *aArg1,
TAny *aArg2,
TAny *aArg3
)[protected, virtual]
From MMsvSessionObserver.
Since
3.0

Parameters

TMsvSessionEvent aEventthe caller of the method sets the value.
TAny * aArg1depends on the aEvent value
TAny * aArg2depends on the aEvent value
TAny * aArg3depends on the aEvent value

MmscUrlL(HBufC *&)

IMPORT_C TIntMmscUrlL(HBufC *&aServerUri)

MmscUrlL

Since
3.0
Usage: aServerUri should not be allocated by the caller of this method. The buffer is pushed onto CleanupStack temporarily. The caller is responsible for destroying the buffer when the buffer is no longer needed.

Note that if the uri is not defined, KErrNone is returned.

Parameters

HBufC *& aServerUri

NewL()

IMPORT_C CMmsApplicationAdapter *NewL()[static]

Two-phased constructor.

RegisterL(const TDesC &, TMsvId &)

IMPORT_C TIntRegisterL(const TDesC &aApplicationId,
TMsvId &aFolderId
)

Register application.

Since
3.0

Parameters

const TDesC & aApplicationIdapplication id
TMsvId & aFolderIdfolder id for this application id.

RegisterWithNameL(const TDesC &, const TDesC &, TMsvId &)

IMPORT_C TIntRegisterWithNameL(const TDesC &aApplicationId,
const TDesC &aUserFriendlyName,
TMsvId &aFolderId
)

Register application.

Since
3.2

Parameters

const TDesC & aApplicationIdapplication id
const TDesC & aUserFriendlyNameuser friendly name for the application
TMsvId & aFolderIdfolder id for this application id (return value).

RegisteredApplicationList()

IMPORT_C const CDesCArray &RegisteredApplicationList()const

Return a list of registered applications

Since
3.1

RegisteredL(const TDesC &)

IMPORT_C TBoolRegisteredL(const TDesC &aApplicationId)

RegisteredL

checks if the application id is registered or not
Since
3.0

Parameters

const TDesC & aApplicationIdapplication id

ReplyToApplicationIdL(TMsvId)

IMPORT_C TPtrC16ReplyToApplicationIdL(TMsvIdaMmId)

Reply to Application ID

Since
3.0

Parameters

TMsvId aMmIdIndex to the multimedia message

SetApplicationIdL(TMsvId, const TDesC &)

IMPORT_C voidSetApplicationIdL(TMsvIdaMmId,
const TDesC &aApplicationId
)

Set application ID

Since
3.0

Parameters

TMsvId aMmIdIndex to the multimedia message
const TDesC & aApplicationIdapplication id

SetReplyToApplicationIdL(TMsvId, const TDesC &)

IMPORT_C voidSetReplyToApplicationIdL(TMsvIdaMmId,
const TDesC &aReplyToApplicationId
)

Set reply to application ID

Since
3.0

Parameters

TMsvId aMmIdIndex to the multimedia message
const TDesC & aReplyToApplicationIdreply to application id

UnregisterL(const TDesC &)

IMPORT_C TIntUnregisterL(const TDesC &aApplicationId)

Unregister application The function destroys the corresponding folder and its content.

Since
3.0

Parameters

const TDesC & aApplicationIdapplication id

UserFriendlyName(const TDesC &)

IMPORT_C TPtrCUserFriendlyName(const TDesC &aApplicationId)

Get User Friendly Name for an application

Since
3.2

Parameters

const TDesC & aApplicationIdapplication id

Member Data Documentation

CMsvEntry * iClientEntry

CMsvEntry *iClientEntry[private]

CMmsHeaders * iMmsHeaders

CMmsHeaders *iMmsHeaders[private]

CMmsSettings * iMmsSettings

CMmsSettings *iMmsSettings[private]

CMmsRegisteredApplications * iRegAppIds

CMmsRegisteredApplications *iRegAppIds[private]

CMsvSession * iSession

CMsvSession *iSession[private]

Functions from CMmsBaseOperation