CPsmClient Class Reference
class CPsmClient : public CBase |
PSM Client API class
Allows clients to change power save mode. Provides also a reference to PSM Client Settings API.
psmclient.lib
Member Functions Documentation
CancelPowerSaveModeChange()
void | CancelPowerSaveModeChange | ( | ) | [pure virtual] |
Cancels ongoing power save mode change and restores previous power save mode back. If there is no ongoing change, current mode remains.
CancelPowerSaveModeNotificationRequest()
void | CancelPowerSaveModeNotificationRequest | ( | ) | [pure virtual] |
ChangePowerSaveMode(const TInt)
void | ChangePowerSaveMode | ( | const TInt | aPsmMode | ) | [pure virtual] |
Enable power save mode. It is possible to get notification of mode change by requesting a notification using RequestPowerSaveModeNotification. On successful change, client gets indication via PowerSaveModeChanged callback. Failure in change is indicated to client via PowerSaveModeChangeError callback.
MPsmClientObserver
Parameters
const TInt aPsmMode | The power save mode to change to |
NewL(MPsmClientObserver &)
Creates a new PSM client.
NewLC(MPsmClientObserver &)
PsmSettings()
Reference to PSM Client Settings API.
RequestPowerSaveModeNotification()
void | RequestPowerSaveModeNotification | ( | ) | [pure virtual] |
Requests notification of power save mode change. Client is notified about mode changes until request cancelled using CancelPowerSaveModeNotificationRequest.
MPsmClientObserver
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.