MPsmClientObserver Class Reference

class MPsmClientObserver

PSM Client Observer for Power Save Mode change notification

psmclient.lib

Public Member Functions
voidPowerSaveModeChangeError(const TInt)
voidPowerSaveModeChanged(const TPsmsrvMode)

Member Functions Documentation

PowerSaveModeChangeError(const TInt)

voidPowerSaveModeChangeError(const TIntaError)[pure virtual]

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

Parameters

const TInt aErrorSystem 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)

voidPowerSaveModeChanged(const TPsmsrvModeaMode)[pure virtual]

This method is called when Power Save Mode is changed.

Parameters

const TPsmsrvMode aModeMode that is currently active