class MFeatureObserver |
Class provides a callback interface for handling notifification of changes in features. The client derives a class from this interface and implements the HandleNotifyChange-methods that interest it.
Feature Notifier API consists of the classes CFeatureNotifier and MFeatureObserver . TFeatureEntry and TFeatureChangeType are defined in featurecmn.h.
Public Member Functions | |
---|---|
void | HandleNotifyChange ( TFeatureChangeType , TFeatureEntry ) |
void | HandleNotifyError ( TInt ) |
void | HandleNotifyChange | ( | TFeatureChangeType | aType, |
TFeatureEntry | aFeature | |||
) | [pure virtual] |
This callback method is used to notify the client about the change in a feature.
TFeatureChangeType aType | Type of the change. |
TFeatureEntry aFeature | The changed feature. Note that although aFeature is a TFeatureEntry object, only the iFeatureID field is set by the server. |
void | HandleNotifyError | ( | TInt | aError | ) | [pure virtual] |
This callback method is used to notify the client about errors in the CFeatureNotifier. Any error in the notifier causes the notifier to stop handling of notifications. Handling can be restarted with a call to aNotifier->NotifyRequest(), if the error is non-fatal.
TInt aError | One of the Symbian OS error codes. |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.