MPsmClientObserver Class Reference

class MPsmClientObserver

PSM Client Observer for Power Save Mode change notification

psmclient.lib

Public Member Functions
void PowerSaveModeChangeError (const TInt )
void PowerSaveModeChanged (const TPsmsrvMode )

Member Functions Documentation

PowerSaveModeChangeError(const TInt)

void PowerSaveModeChangeError ( const TInt aError ) [pure virtual]

This method is called when there is an error during power save mode change

Parameters

const TInt aError System wide error code. KErrNoMemory if memory allocation failed, KErrAlreadyExists if the requested mode is already in use, KErrArgument if the requested mode is not supported. KErrCompletion if mode change done only partially, i.e. some actions are not done for certain reason.

PowerSaveModeChanged(const TPsmsrvMode)

void PowerSaveModeChanged ( const TPsmsrvMode aMode ) [pure virtual]

This method is called when Power Save Mode is changed.

Parameters

const TPsmsrvMode aMode Mode that is currently active