CBatteryInfo Class Reference

Inherits CISVAPIAsync.

List of all members.

Public Member Functions

 ~CBatteryInfo ()
void DoStartRequestL ()
void DoRequestNotificationL ()

Static Public Member Functions

static CBatteryInfoNewL (MExecAsync *aController)

Public Attributes

CTelephony::TBatteryInfoV1 iBatteryInfoV1

Detailed Description

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.


Constructor & Destructor Documentation

CBatteryInfo::~CBatteryInfo (  ) 

Destructor. Cancels outstanding requests.

Definition at line 54 of file CBatteryInfo.cpp.


Member Function Documentation

CBatteryInfo * CBatteryInfo::NewL ( MExecAsync aController  )  [static]

Factory constructor.

Parameters:
aController Pointer to MExecAsync object passed to constructor of CISVAPIBase
Returns:
Instance of CBatteryInfo class

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.


Member Data Documentation

CTelephony::TBatteryInfoV1 CBatteryInfo::iBatteryInfoV1

Stores retrieved phone battery information.

Definition at line 71 of file CBatteryInfo.h.


Generated by  doxygen 1.6.2