CMmPhoneExtInterface Class Reference

class CMmPhoneExtInterface : public CBase

CMmPhoneExtInterface is used to provide an extension interface for system specific phone object extensions.

Inherits from

Public Member Functions
TInt AbortSecurityCodeL (const TDataPackage &)
TInt ChangeSecurityCodeL (const TDataPackage &)
void CompleteGetHomeNetwork ( CMmDataPackage *)
void CompleteGetICCType ( CMmDataPackage *)
void CompleteNotifyNetworkRegistrationStatusChange ( RMobilePhone::TMobilePhoneRegistrationStatus )
TInt CurrentICCType ()
TInt DeliverCode ( RMobilePhone::TCodeAndUnblockCode )
TInt GetCellInfoL ()
TInt GetCipheringIndicatorStatusL (const TDataPackage *)
TInt GetCurrentNetwork ( RMobilePhone::TMobilePhoneNetworkInfoV8 *, RMobilePhone::TMobilePhoneLocationAreaV1 *)
TInt GetCurrentNetworkNoLocation ( RMobilePhone::TMobilePhoneNetworkInfoV8 *)
TInt GetCurrentNetworkNoLocationV1 ( RMobilePhone::TMobilePhoneNetworkInfoV1 *)
TInt GetCurrentNetworkNoLocationV2 ( RMobilePhone::TMobilePhoneNetworkInfoV2 *)
TInt GetCurrentNetworkNoLocationV5 ( RMobilePhone::TMobilePhoneNetworkInfoV5 *)
TInt GetCurrentNetworkV1 ( RMobilePhone::TMobilePhoneNetworkInfoV1 *, RMobilePhone::TMobilePhoneLocationAreaV1 *)
TInt GetCurrentNetworkV2 ( RMobilePhone::TMobilePhoneNetworkInfoV2 *, RMobilePhone::TMobilePhoneLocationAreaV1 *)
TInt GetCurrentNetworkV5 ( RMobilePhone::TMobilePhoneNetworkInfoV5 *, RMobilePhone::TMobilePhoneLocationAreaV1 *)
TInt GetDetectedNetworksCancelL ()
TInt GetDetectedNetworksPhase1L ()
TInt GetFdnStatusL ()
TInt GetHomeNetwork ( RMobilePhone::TMobilePhoneNetworkInfoV8 *)
TInt GetHomeNetworkV1 ( RMobilePhone::TMobilePhoneNetworkInfoV1 *)
TInt GetHomeNetworkV2 ( RMobilePhone::TMobilePhoneNetworkInfoV2 *)
TInt GetHomeNetworkV5 ( RMobilePhone::TMobilePhoneNetworkInfoV5 *)
TInt GetICCTypeL ()
TInt GetIccAccessCaps ( TUint32 *)
TInt GetLockInfoL (const TDataPackage &)
TInt GetNITZInfo ( RMobilePhone::TMobilePhoneNITZ *)
TInt GetNetworkCaps ( TUint32 *)
TInt GetNetworkRegistrationStatusL ()
TInt GetNetworkSecurityLevel ( RMobilePhone::TMobilePhoneNetworkSecurity &)
TInt GetSecurityCaps ( TUint32 *)
TInt GetServiceProviderNameL ()
TInt GetStaticExtensionMode ( RMobilePhone::TMobilePhoneNetworkMode *)
TInt InitSimL ()
TInt MtcStateQueryL ()
TInt NotifyCellInfoChangeL ()
TInt NotifySimStatusReadyL ()
void ReceivedNITZInfo ( RMobilePhone::TMobilePhoneNITZ &)
TInt SelectNetworkCancelL ()
TInt SelectNetworkL (const TDataPackage &)
TInt SetCurrentNetwork (const RMobilePhone::TMobilePhoneNetworkInfoV8 &, const RMobilePhone::TMobilePhoneLocationAreaV1 &)
TInt SetFdnSetting ( RMobilePhone::TMobilePhoneFdnSetting *)
TInt SetLockSettingL ( CMmDataPackage *)
void SetNetworkModeInExtensionPhone ( RMobilePhone::TMobilePhoneNetworkMode )
TInt SetNetworkSecurityLevel ( RMobilePhone::TMobilePhoneNetworkSecurity &)
TInt SetNetworkSelectionSettingL (const TDataPackage &)
TInt SimActivePinState ()
TInt UpdateLockInfo ( RMobilePhone::TMobilePhoneLockStatus , RMobilePhone::TMobilePhoneLockSetting , RMobilePhone::TMobilePhoneLock )
TInt UpdateSecurityCaps ( RMobilePhone::TMobilePhoneSecurityEvent )
TInt VerifySecurityCodeL (const TDataPackage &)
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()

Member Functions Documentation

AbortSecurityCodeL(const TDataPackage &)

TInt AbortSecurityCodeL ( const TDataPackage & aPackage ) [pure virtual]

Default implementation of AbortSecurityCodeL.

Parameters

const TDataPackage & aPackage

ChangeSecurityCodeL(const TDataPackage &)

TInt ChangeSecurityCodeL ( const TDataPackage & aPackage ) [pure virtual]

Default implementation of ChangeSecurityCodeL.

Parameters

const TDataPackage & aPackage

CompleteGetHomeNetwork(CMmDataPackage *)

void CompleteGetHomeNetwork ( CMmDataPackage * aDataPackage ) [pure virtual]

Copletes GetHomeNetwork request

Parameters

CMmDataPackage * aDataPackage package

CompleteGetICCType(CMmDataPackage *)

void CompleteGetICCType ( CMmDataPackage * aDataPackage ) [pure virtual]

Completes a GetICCType request

Parameters

CMmDataPackage * aDataPackage

CompleteNotifyNetworkRegistrationStatusChange(RMobilePhone::TMobilePhoneRegistrationStatus)

void CompleteNotifyNetworkRegistrationStatusChange ( RMobilePhone::TMobilePhoneRegistrationStatus aRegistrationStatus ) [pure virtual]

Completes a network registration status changed in this extension

Parameters

RMobilePhone::TMobilePhoneRegistrationStatus aRegistrationStatus new registration status

CurrentICCType()

TInt CurrentICCType ( ) [pure virtual]

Returns the current ICCType

DeliverCode(RMobilePhone::TCodeAndUnblockCode)

TInt DeliverCode ( RMobilePhone::TCodeAndUnblockCode aCodes ) [pure virtual]

Default implementation of DeliverCode.

GetCellInfoL()

TInt GetCellInfoL ( ) [pure virtual]

Get the Cell Information.

GetCipheringIndicatorStatusL(const TDataPackage *)

TInt GetCipheringIndicatorStatusL ( const TDataPackage * aDataPackage ) [pure virtual]

Gets ciphering indicator status

Parameters

const TDataPackage * aDataPackage

GetCurrentNetwork(RMobilePhone::TMobilePhoneNetworkInfoV8 *, RMobilePhone::TMobilePhoneLocationAreaV1 *)

TInt GetCurrentNetwork ( RMobilePhone::TMobilePhoneNetworkInfoV8 * aNetInfo,
RMobilePhone::TMobilePhoneLocationAreaV1 * aArea
) [pure virtual]

Default implementation of GetCurrentNetwork (version 8)

Parameters

RMobilePhone::TMobilePhoneNetworkInfoV8 * aNetInfo network information version 8
RMobilePhone::TMobilePhoneLocationAreaV1 * aArea Location area

GetCurrentNetworkNoLocation(RMobilePhone::TMobilePhoneNetworkInfoV8 *)

TInt GetCurrentNetworkNoLocation ( RMobilePhone::TMobilePhoneNetworkInfoV8 * aNetInfo ) [pure virtual]

Default implementation of GetCurrentNetworkNoLocation (version 8)

Parameters

RMobilePhone::TMobilePhoneNetworkInfoV8 * aNetInfo network information version 8

GetCurrentNetworkNoLocationV1(RMobilePhone::TMobilePhoneNetworkInfoV1 *)

TInt GetCurrentNetworkNoLocationV1 ( RMobilePhone::TMobilePhoneNetworkInfoV1 * aNetInfo ) [pure virtual]

Version 1 implementation of GetCurrentNetworkNoLocation

Parameters

RMobilePhone::TMobilePhoneNetworkInfoV1 * aNetInfo network information version 1

GetCurrentNetworkNoLocationV2(RMobilePhone::TMobilePhoneNetworkInfoV2 *)

TInt GetCurrentNetworkNoLocationV2 ( RMobilePhone::TMobilePhoneNetworkInfoV2 * aNetInfo ) [pure virtual]

Version 2 information implementation of GetCurrentNetworkNoLocation

Parameters

RMobilePhone::TMobilePhoneNetworkInfoV2 * aNetInfo network information version 2

GetCurrentNetworkNoLocationV5(RMobilePhone::TMobilePhoneNetworkInfoV5 *)

TInt GetCurrentNetworkNoLocationV5 ( RMobilePhone::TMobilePhoneNetworkInfoV5 * aNetInfo ) [pure virtual]

Version 5 information implementation of GetCurrentNetworkNoLocation

Parameters

RMobilePhone::TMobilePhoneNetworkInfoV5 * aNetInfo network information version 5

GetCurrentNetworkV1(RMobilePhone::TMobilePhoneNetworkInfoV1 *, RMobilePhone::TMobilePhoneLocationAreaV1 *)

TInt GetCurrentNetworkV1 ( RMobilePhone::TMobilePhoneNetworkInfoV1 * aNetInfo,
RMobilePhone::TMobilePhoneLocationAreaV1 * aArea
) [pure virtual]

Implementation of GetCurrentNetwork version 1 information

Parameters

RMobilePhone::TMobilePhoneNetworkInfoV1 * aNetInfo network information version 1
RMobilePhone::TMobilePhoneLocationAreaV1 * aArea Location area

GetCurrentNetworkV2(RMobilePhone::TMobilePhoneNetworkInfoV2 *, RMobilePhone::TMobilePhoneLocationAreaV1 *)

TInt GetCurrentNetworkV2 ( RMobilePhone::TMobilePhoneNetworkInfoV2 * aNetInfo,
RMobilePhone::TMobilePhoneLocationAreaV1 * aArea
) [pure virtual]

Implementation of GetCurrentNetwork version 2 information

Parameters

RMobilePhone::TMobilePhoneNetworkInfoV2 * aNetInfo network information version 2
RMobilePhone::TMobilePhoneLocationAreaV1 * aArea Location area

GetCurrentNetworkV5(RMobilePhone::TMobilePhoneNetworkInfoV5 *, RMobilePhone::TMobilePhoneLocationAreaV1 *)

TInt GetCurrentNetworkV5 ( RMobilePhone::TMobilePhoneNetworkInfoV5 * aNetInfo,
RMobilePhone::TMobilePhoneLocationAreaV1 * aArea
) [pure virtual]

Implementation of GetCurrentNetwork version 5 information

Parameters

RMobilePhone::TMobilePhoneNetworkInfoV5 * aNetInfo network information version 5
RMobilePhone::TMobilePhoneLocationAreaV1 * aArea Location area

GetDetectedNetworksCancelL()

TInt GetDetectedNetworksCancelL ( ) [pure virtual]

Default implementation of GetDetectedNetworksCancelL

GetDetectedNetworksPhase1L()

TInt GetDetectedNetworksPhase1L ( ) [pure virtual]

Default implementation of GetDetectedNetworksPhase1L

GetFdnStatusL()

TInt GetFdnStatusL ( ) [pure virtual]

Default implementation of GetFdnStatusL-method

GetHomeNetwork(RMobilePhone::TMobilePhoneNetworkInfoV8 *)

TInt GetHomeNetwork ( RMobilePhone::TMobilePhoneNetworkInfoV8 * aNetInfo ) [pure virtual]

Default implementation of get home network information (version 8)

Parameters

RMobilePhone::TMobilePhoneNetworkInfoV8 * aNetInfo network information version 8

GetHomeNetworkV1(RMobilePhone::TMobilePhoneNetworkInfoV1 *)

TInt GetHomeNetworkV1 ( RMobilePhone::TMobilePhoneNetworkInfoV1 * aNetInfo ) [pure virtual]

Version 1 implementation of get home network information.

Parameters

RMobilePhone::TMobilePhoneNetworkInfoV1 * aNetInfo network information version 1

GetHomeNetworkV2(RMobilePhone::TMobilePhoneNetworkInfoV2 *)

TInt GetHomeNetworkV2 ( RMobilePhone::TMobilePhoneNetworkInfoV2 * aNetInfo ) [pure virtual]

Version 2 implementation of get home network information.

Parameters

RMobilePhone::TMobilePhoneNetworkInfoV2 * aNetInfo network information version 2

GetHomeNetworkV5(RMobilePhone::TMobilePhoneNetworkInfoV5 *)

TInt GetHomeNetworkV5 ( RMobilePhone::TMobilePhoneNetworkInfoV5 * aNetInfo ) [pure virtual]

Version 5 implementation of get home network information.

Parameters

RMobilePhone::TMobilePhoneNetworkInfoV5 * aNetInfo network information version 5

GetICCTypeL()

TInt GetICCTypeL ( ) [pure virtual]

Gets the type of the ICC

GetIccAccessCaps(TUint32 *)

TInt GetIccAccessCaps ( TUint32 * aCaps ) [pure virtual]

Gets the ICC access capabilites

Parameters

TUint32 * aCaps Pointer to return the capabilites value

GetLockInfoL(const TDataPackage &)

TInt GetLockInfoL ( const TDataPackage & aPackage ) [pure virtual]

Gets the status and setting of a given lock

Parameters

const TDataPackage & aPackage

GetNITZInfo(RMobilePhone::TMobilePhoneNITZ *)

TInt GetNITZInfo ( RMobilePhone::TMobilePhoneNITZ * aNwtTimeInfo ) [pure virtual]

Default implementation of GetNITZInfo-method.

Parameters

RMobilePhone::TMobilePhoneNITZ * aNwtTimeInfo

GetNetworkCaps(TUint32 *)

TInt GetNetworkCaps ( TUint32 * aCaps ) [pure virtual]

Default implementation of GetNetworkCaps-method.

Parameters

TUint32 * aCaps

GetNetworkRegistrationStatusL()

TInt GetNetworkRegistrationStatusL ( ) [pure virtual]

Gets the network registration status

GetNetworkSecurityLevel(RMobilePhone::TMobilePhoneNetworkSecurity &)

TInt GetNetworkSecurityLevel ( RMobilePhone::TMobilePhoneNetworkSecurity & aNetworkSecurity ) const [pure virtual]

Gets network security level

Parameters

RMobilePhone::TMobilePhoneNetworkSecurity & aNetworkSecurity

GetSecurityCaps(TUint32 *)

TInt GetSecurityCaps ( TUint32 * aCaps ) [pure virtual]

Default implementation of GetSecurityCaps.

Parameters

TUint32 * aCaps

GetServiceProviderNameL()

TInt GetServiceProviderNameL ( ) [pure virtual]

Default implementation of get service provider name

GetStaticExtensionMode(RMobilePhone::TMobilePhoneNetworkMode *)

TInt GetStaticExtensionMode ( RMobilePhone::TMobilePhoneNetworkMode * aMode ) [pure virtual]

Get static extension mode

Parameters

RMobilePhone::TMobilePhoneNetworkMode * aMode

InitSimL()

TInt InitSimL ( ) [pure virtual]

Default implementation of trapped Initialisation method

MtcStateQueryL()

TInt MtcStateQueryL ( ) [pure virtual]

Makes the MTC status request to SIM server

NotifyCellInfoChangeL()

TInt NotifyCellInfoChangeL ( ) [pure virtual]

Request notifications of cell information changes.

NotifySimStatusReadyL()

TInt NotifySimStatusReadyL ( ) [pure virtual]

Makes the SIM status request to SIM server

ReceivedNITZInfo(RMobilePhone::TMobilePhoneNITZ &)

void ReceivedNITZInfo ( RMobilePhone::TMobilePhoneNITZ & aNITZInfo ) [pure virtual]

Update Nitz information.

Parameters

RMobilePhone::TMobilePhoneNITZ & aNITZInfo NITZ info

SelectNetworkCancelL()

TInt SelectNetworkCancelL ( ) [pure virtual]

Default implementation of SelectNetworkCancelL

SelectNetworkL(const TDataPackage &)

TInt SelectNetworkL ( const TDataPackage & aDataPackage ) [pure virtual]

Default implementation of SelectNetworkL

Parameters

const TDataPackage & aDataPackage

SetCurrentNetwork(const RMobilePhone::TMobilePhoneNetworkInfoV8 &, const RMobilePhone::TMobilePhoneLocationAreaV1 &)

TInt SetCurrentNetwork ( const RMobilePhone::TMobilePhoneNetworkInfoV8 & aNetInfo,
const RMobilePhone::TMobilePhoneLocationAreaV1 & area
) [pure virtual]

Default implementation of SetCurrentNetwork

Parameters

const RMobilePhone::TMobilePhoneNetworkInfoV8 & aNetInfo network information version 8
const RMobilePhone::TMobilePhoneLocationAreaV1 & area

SetFdnSetting(RMobilePhone::TMobilePhoneFdnSetting *)

TInt SetFdnSetting ( RMobilePhone::TMobilePhoneFdnSetting * aFdnSetting ) [pure virtual]

Default implementation of SetFdnSetting-method

Parameters

RMobilePhone::TMobilePhoneFdnSetting * aFdnSetting

SetLockSettingL(CMmDataPackage *)

TInt SetLockSettingL ( CMmDataPackage * aPackage ) [pure virtual]

Sets new setting for a lock

Parameters

CMmDataPackage * aPackage

SetNetworkModeInExtensionPhone(RMobilePhone::TMobilePhoneNetworkMode)

void SetNetworkModeInExtensionPhone ( RMobilePhone::TMobilePhoneNetworkMode aMode ) [pure virtual]

Sets a network mode into iCurrentNwInfo.iMode variable

Parameters

RMobilePhone::TMobilePhoneNetworkMode aMode Network Mode

SetNetworkSecurityLevel(RMobilePhone::TMobilePhoneNetworkSecurity &)

TInt SetNetworkSecurityLevel ( RMobilePhone::TMobilePhoneNetworkSecurity & aNetworkSecurity ) [pure virtual]

Sets network security level

Parameters

RMobilePhone::TMobilePhoneNetworkSecurity & aNetworkSecurity

SetNetworkSelectionSettingL(const TDataPackage &)

TInt SetNetworkSelectionSettingL ( const TDataPackage & aDataPackage ) [pure virtual]

Sets the network selection setting

Parameters

const TDataPackage & aDataPackage

SimActivePinState()

TInt SimActivePinState ( ) [pure virtual]

Checks the state of the currently active PIN code.

UpdateLockInfo(RMobilePhone::TMobilePhoneLockStatus, RMobilePhone::TMobilePhoneLockSetting, RMobilePhone::TMobilePhoneLock)

TInt UpdateLockInfo ( RMobilePhone::TMobilePhoneLockStatus aStatus,
RMobilePhone::TMobilePhoneLockSetting aSetting,
RMobilePhone::TMobilePhoneLock aLock
) [pure virtual]

Gets the status and setting of a given lock

Parameters

RMobilePhone::TMobilePhoneLockStatus aStatus
RMobilePhone::TMobilePhoneLockSetting aSetting
RMobilePhone::TMobilePhoneLock aLock

UpdateSecurityCaps(RMobilePhone::TMobilePhoneSecurityEvent)

TInt UpdateSecurityCaps ( RMobilePhone::TMobilePhoneSecurityEvent aEvent ) [pure virtual]

Default implementation of UpdateSecurityCaps.

Parameters

RMobilePhone::TMobilePhoneSecurityEvent aEvent

VerifySecurityCodeL(const TDataPackage &)

TInt VerifySecurityCodeL ( const TDataPackage & aPackage ) [pure virtual]

Default implementation of VerifySecurityCodeL.

Parameters

const TDataPackage & aPackage