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 48 of file CBatteryInfo.h.
CBatteryInfo::~CBatteryInfo | ( | ) |
Destructor. Cancels outstanding requests.
Definition at line 54 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 41 of file CBatteryInfo.cpp.
void CBatteryInfo::DoStartRequestL | ( | ) | [virtual] |
Gets battery information and stores it in the iBatteryInfoV1Pckg.
Reimplemented from CISVAPIBase.
Definition at line 62 of file CBatteryInfo.cpp.
void CBatteryInfo::DoRequestNotificationL | ( | ) | [virtual] |
Requests to receive notifications of change in the battery information.
Reimplemented from CISVAPIBase.
Definition at line 155 of file CBatteryInfo.cpp.
CTelephony::TBatteryInfoV1 CBatteryInfo::iBatteryInfoV1 |
Stores retrieved phone battery information.
Definition at line 71 of file CBatteryInfo.h.