| 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
| Public Member Functions | |
|---|---|
| void | CancelPowerSaveModeChange () |
| void | CancelPowerSaveModeNotificationRequest () |
| void | ChangePowerSaveMode (const TInt ) |
| IMPORT_C CPsmClient * | NewL ( MPsmClientObserver &) |
| IMPORT_C CPsmClient * | NewLC ( MPsmClientObserver &) |
| CPsmSettings & | PsmSettings () |
| void | RequestPowerSaveModeNotification () |
| 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.
| void | CancelPowerSaveModeNotificationRequest | ( | ) | [pure virtual] |
Cancels notification request of power save mode change.
| 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.
| const TInt aPsmMode | The power save mode to change to |
| IMPORT_C CPsmClient * | NewL | ( | MPsmClientObserver & | aObserver | ) | [static] |
Creates a new PSM client.
| MPsmClientObserver & aObserver | Observer to observe the power save mode change |
| IMPORT_C CPsmClient * | NewLC | ( | MPsmClientObserver & | aObserver | ) | [static] |
| MPsmClientObserver & aObserver |
| CPsmSettings & | PsmSettings | ( | ) | const [pure virtual] |
Reference to PSM Client Settings API.
| void | RequestPowerSaveModeNotification | ( | ) | [pure virtual] |
Requests notification of power save mode change. Client is notified about mode changes until request cancelled using CancelPowerSaveModeNotificationRequest.
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.