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 * aTelephonyFunctionsObject that constructs us.

~CGetBatteryInfoAct()

~CGetBatteryInfoAct()

Destructor

Member Functions Documentation

Complete()

voidComplete()[protected, virtual]

Service Completed request.

DoCancel()

voidDoCancel()[protected, virtual]

Cancel request.

Async request to dial is cancelled.

GetBatteryInfo(TDes8 &)

voidGetBatteryInfo(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 * aTelephonyFunctionsObject that constructs us.

RunError(TInt)

TInt RunError(TIntaLeaveCode)[protected, virtual]

Handle any Leave() from inside RunL().

Parameters

TInt aLeaveCodepassed 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]