CMediatorNotifications Class Reference

class CMediatorNotifications : public CBase

A class used for receiving Mediator Service notifications and command/event information.

MediatorClient.lib
Since
S60 3.1

Inherits from

  • CMediatorNotifications

Constructor & Destructor Documentation

CMediatorNotifications()

CMediatorNotifications()

C++ default constructor.

~CMediatorNotifications()

~CMediatorNotifications()[virtual]

Destructor.

Member Functions Documentation

ConstructL()

voidConstructL()

By default Symbian 2nd phase constructor is private.

GetCategories(TUid, MediatorService::RCategoryList &)

IMPORT_C TIntGetCategories(TUidaDomain,
MediatorService::RCategoryList &aCategories
)

Get a list of registered categories.

Since
S60 3.1

Parameters

TUid aDomainThe identifier of the domain.
MediatorService::RCategoryList & aCategoriesThe list of registered categories for the domain.

GetCommands(TUid, TUid, MediatorService::RCommandList &)

IMPORT_C TIntGetCommands(TUidaDomain,
TUidaCategory,
MediatorService::RCommandList &aCommands
)

Get a list of registered commands.

Since
S60 3.1

Parameters

TUid aDomainThe identifier of the domain.
TUid aCategoryThe identifier of the category.
MediatorService::RCommandList & aCommandsThe list of registered commands for the category.

GetDomains(MediatorService::RDomainList &)

IMPORT_C TIntGetDomains(MediatorService::RDomainList &aDomains)

Get a list of registered domains.

Since
S60 3.1

Parameters

MediatorService::RDomainList & aDomainsThe list of registered domains.

GetEvents(TUid, TUid, MediatorService::REventList &)

IMPORT_C TIntGetEvents(TUidaDomain,
TUidaCategory,
MediatorService::REventList &aEvents
)

Get a list of registered events.

Since
S60 3.1

Parameters

TUid aDomainThe identifier of the domain.
TUid aCategoryThe identifier of the category.
MediatorService::REventList & aEventsThe list of registered events for the category.

NewL()

IMPORT_C CMediatorNotifications *NewL()[static]

Two-phased constructor.

RegisterNotificationObserver(MMediatorNotifications *)

IMPORT_C TIntRegisterNotificationObserver(MMediatorNotifications *aObserver)

Register a registration observer. Any changes in the registration information will be notified via the observer interface.

Since
S60 3.1

Parameters

MMediatorNotifications * aObserverAn observer for Mediator Server.

UnregisterNotificationObserver()

IMPORT_C TIntUnregisterNotificationObserver()

Unregister a registration observer.

Since
S60 3.1

Member Data Documentation

CMediatorNotificationsBody * iBody

CMediatorNotificationsBody *iBody[private]

Pointer to implementation class Own.