Link against: SensrvClient.lib
#include <sensrvchannellistener.h>
This class is for use with the CSensrvChannelFinder::SetChannelListenerL() method. Clients wishing to find channels must inherit from this class and provide a reference to an instance of it in CSensrvChannelFinder::SetChannelListenerL().
Public Member Functions | |
virtual void | ChannelChangeDetected (const TSensrvChannelInfo &aDetectedChannel, TSensrvChannelChangeType aChangeType)=0 |
Callback implemented by a client so that they can be notified when channels are added or removed from the system when new software is installed or uninstalled. | |
virtual void | ChannelDetectionError (CSensrvChannelFinder &aChannelFinder, TSensrvErrorSeverity aError)=0 |
Callback implemented by a client so that they can be notified when channel listening has failed. | |
virtual void | GetChannelListenerInterfaceL (TUid aInterfaceUid, TAny *&aInterface)=0 |
Callback to future proof this API so that additional callbacks can be added in the future without breaking binary compatibility. |
|
Callback implemented by a client so that they can be notified when channels are added or removed from the system when new software is installed or uninstalled. Clients providing an implementation for this callback must ensure that the operation does not leave. If a leave does occur then the behaviour is undefined.
|
|
Callback implemented by a client so that they can be notified when channel listening has failed. If the error is fatal the sensor server session has been terminated and the channel finder is no longer useable. If the error is minor some notifications have potentially been lost, however listening is still active. Clients providing an implementation for this callback must ensure that the operation does not leave. If a leave does occur then the behaviour is undefined.
|
|
Callback to future proof this API so that additional callbacks can be added in the future without breaking binary compatibility.
|