CMediatorCommandInitiator Class Reference

class CMediatorCommandInitiator : public CBase

A class used to issue Mediator Service commands.

MediatorClient.lib
Since
S60 3.1

Inherits from

  • CMediatorCommandInitiator

Constructor & Destructor Documentation

CMediatorCommandInitiator()

CMediatorCommandInitiator()[private]

C++ default constructor.

~CMediatorCommandInitiator()

~CMediatorCommandInitiator()[virtual]

Destructor.

Member Functions Documentation

CancelCommand(TUid, TUid, TInt)

IMPORT_C voidCancelCommand(TUidaDomain,
TUidaCategory,
TIntaCommandId
)

Cancel a Mediator Service command.

Since
S60 3.1

Parameters

TUid aDomainThe identifier of the domain
TUid aCategoryThe identifier of the category.
TInt aCommandIdThe identifier of the command.

ConstructL(MMediatorCommandResponseObserver *)

voidConstructL(MMediatorCommandResponseObserver *aObserver)[private]

By default Symbian 2nd phase constructor is private.

Parameters

MMediatorCommandResponseObserver * aObservercommand response observer

IssueCommand(TUid, TUid, TInt, TVersion, const TDesC8 &)

IMPORT_C TIntIssueCommand(TUidaDomain,
TUidaCategory,
TIntaCommandId,
TVersionaVersion,
const TDesC8 &aData
)

Issue a Mediator Service command.

Since
S60 3.1

Parameters

TUid aDomainThe identifier of the domain
TUid aCategoryThe identifier of the category.
TInt aCommandIdThe identifier of the command.
TVersion aVersionThe version information for the command.
const TDesC8 & aDataThe parameters of the command.

NewL(MMediatorCommandResponseObserver *)

IMPORT_C CMediatorCommandInitiator *NewL(MMediatorCommandResponseObserver *aObserver)[static]

Two-phased constructor.

Parameters

MMediatorCommandResponseObserver * aObservercommand response observer

Member Data Documentation

CMediatorCommandInitiatorBody * iBody

CMediatorCommandInitiatorBody *iBody[private]