Inherits CISVAPIAsync.
Public Member Functions | |
~CBatteryInfo () | |
void | DoStartRequestL () |
void | DoRequestNotificationL () |
Static Public Member Functions | |
static CBatteryInfo * | NewL (MExecAsync *aController) |
Public Attributes | |
CTelephony::TBatteryInfoV1 | iBatteryInfoV1 |
Retrieves the current state of the battery charge level can be notified on change of battery status.
Definition at line 33 of file CBatteryInfo.h.
CBatteryInfo::~CBatteryInfo | ( | ) |
Destructor. Cancels outstanding requests.
Definition at line 39 of file CBatteryInfo.cpp.
CBatteryInfo * CBatteryInfo::NewL | ( | MExecAsync * | aController | ) | [static] |
Factory constructor.
aController | Pointer to MExecAsync object passed to constructor of CISVAPIBase |
Definition at line 26 of file CBatteryInfo.cpp.
void CBatteryInfo::DoStartRequestL | ( | ) | [virtual] |
Gets battery information and stores it in the iBatteryInfoV1Pckg.
Reimplemented from CISVAPIBase.
Definition at line 47 of file CBatteryInfo.cpp.
void CBatteryInfo::DoRequestNotificationL | ( | ) | [virtual] |
Requests to receive notifications of change in the battery information.
Reimplemented from CISVAPIBase.
Definition at line 140 of file CBatteryInfo.cpp.
CTelephony::TBatteryInfoV1 CBatteryInfo::iBatteryInfoV1 |
Stores retrieved phone battery information.
Definition at line 56 of file CBatteryInfo.h.
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.