CMediatorCommandInitiator Class Reference

class CMediatorCommandInitiator : public CBase

A class used to issue Mediator Service commands.

MediatorClient.lib
Since
S60 3.1

Inherits from

Constructor & Destructor Documentation

CMediatorCommandInitiator()

CMediatorCommandInitiator ( ) [private]

C++ default constructor.

~CMediatorCommandInitiator()

~CMediatorCommandInitiator ( ) [virtual]

Destructor.

Member Functions Documentation

CancelCommand(TUid, TUid, TInt)

IMPORT_C void CancelCommand ( TUid aDomain,
TUid aCategory,
TInt aCommandId
)

Cancel a Mediator Service command.

Since
S60 3.1

Parameters

TUid aDomain The identifier of the domain
TUid aCategory The identifier of the category.
TInt aCommandId The identifier of the command.

ConstructL(MMediatorCommandResponseObserver *)

void ConstructL ( MMediatorCommandResponseObserver * aObserver ) [private]

By default Symbian 2nd phase constructor is private.

Parameters

MMediatorCommandResponseObserver * aObserver command response observer

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

IMPORT_C TInt IssueCommand ( TUid aDomain,
TUid aCategory,
TInt aCommandId,
TVersion aVersion,
const TDesC8 & aData
)

Issue a Mediator Service command.

Since
S60 3.1

Parameters

TUid aDomain The identifier of the domain
TUid aCategory The identifier of the category.
TInt aCommandId The identifier of the command.
TVersion aVersion The version information for the command.
const TDesC8 & aData The parameters of the command.

NewL(MMediatorCommandResponseObserver *)

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

Two-phased constructor.

Parameters

MMediatorCommandResponseObserver * aObserver command response observer

Member Data Documentation

CMediatorCommandInitiatorBody * iBody

CMediatorCommandInitiatorBody * iBody [private]