CGetBatteryInfoAct Class Reference

class CGetBatteryInfoAct : public CAsyncRequestBaseAct

This is an active object responsible for interacting with Multimode ETel

Inherits from

Constructor & Destructor Documentation

CGetBatteryInfoAct(CTelephonyFunctions *)

CGetBatteryInfoAct ( CTelephonyFunctions * aTelephonyFunctions ) [private]

First-phase constructor which cannot Leave().

Parameters

CTelephonyFunctions * aTelephonyFunctions Object that constructs us.

~CGetBatteryInfoAct()

~CGetBatteryInfoAct ( )

Destructor

Member Functions Documentation

Complete()

void Complete ( ) [protected, virtual]

Service Completed request.

DoCancel()

void DoCancel ( ) [protected, virtual]

Cancel request.

Async request to dial is cancelled.

GetBatteryInfo(TDes8 &)

void GetBatteryInfo ( TDes8 & aId )

Issue Request

Parameters

TDes8 & aId

NewL(CTelephonyFunctions *)

CGetBatteryInfoAct * NewL ( CTelephonyFunctions * aTelephonyFunctions ) [static]

Public constructor which can Leave().

leave
Leaves if no memory.

Parameters

CTelephonyFunctions * aTelephonyFunctions Object that constructs us.

RunError(TInt)

TInt RunError ( TInt aLeaveCode ) [protected, virtual]

Handle any Leave() from inside RunL() .

Parameters

TInt aLeaveCode passed in if RunL Leaves.

Member Data Documentation

CTelephony::TBatteryInfoV1 * iISVBatteryInfo

CTelephony::TBatteryInfoV1 * iISVBatteryInfo [private]

RMobilePhone::TMobilePhoneBatteryInfoV1 iMMBatteryInfo

RMobilePhone::TMobilePhoneBatteryInfoV1 iMMBatteryInfo [private]

CTelephonyFunctions * iTelephonyFunctions

CTelephonyFunctions * iTelephonyFunctions [private]