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

Constructor & Destructor Documentation

CMediatorNotifications()

CMediatorNotifications ( )

C++ default constructor.

~CMediatorNotifications()

~CMediatorNotifications ( ) [virtual]

Destructor.

Member Functions Documentation

ConstructL()

void ConstructL ( )

By default Symbian 2nd phase constructor is private.

GetCategories(TUid, MediatorService::RCategoryList &)

IMPORT_C TInt GetCategories ( TUid aDomain,
MediatorService::RCategoryList & aCategories
)

Get a list of registered categories.

Since
S60 3.1

Parameters

TUid aDomain The identifier of the domain.
MediatorService::RCategoryList & aCategories The list of registered categories for the domain.

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

IMPORT_C TInt GetCommands ( TUid aDomain,
TUid aCategory,
MediatorService::RCommandList & aCommands
)

Get a list of registered commands.

Since
S60 3.1

Parameters

TUid aDomain The identifier of the domain.
TUid aCategory The identifier of the category.
MediatorService::RCommandList & aCommands The list of registered commands for the category.

GetDomains(MediatorService::RDomainList &)

IMPORT_C TInt GetDomains ( MediatorService::RDomainList & aDomains )

Get a list of registered domains.

Since
S60 3.1

Parameters

MediatorService::RDomainList & aDomains The list of registered domains.

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

IMPORT_C TInt GetEvents ( TUid aDomain,
TUid aCategory,
MediatorService::REventList & aEvents
)

Get a list of registered events.

Since
S60 3.1

Parameters

TUid aDomain The identifier of the domain.
TUid aCategory The identifier of the category.
MediatorService::REventList & aEvents The list of registered events for the category.

NewL()

IMPORT_C CMediatorNotifications * NewL ( ) [static]

Two-phased constructor.

RegisterNotificationObserver(MMediatorNotifications *)

IMPORT_C TInt RegisterNotificationObserver ( 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 * aObserver An observer for Mediator Server.

UnregisterNotificationObserver()

IMPORT_C TInt UnregisterNotificationObserver ( )

Unregister a registration observer.

Since
S60 3.1

Member Data Documentation

CMediatorNotificationsBody * iBody

CMediatorNotificationsBody * iBody [private]

Pointer to implementation class Own.