MPEEngineInfo Class Reference

class MPEEngineInfo

Offers engine info interface to phone application

phoneengine.lib
Since
Series 60 4.0
Public Member Functions
const CCCECallParameters::TCCELineType &ALSLine()
const TBool &ALSLineSupport()
const TPEActiveForwardInfo &ActiveForwardingInfo()
const TArray< TContactItemId >AlertForGroup()
const TBool &AudioMute()
const TPEAudioOutput &AudioOutput()
TBool AudioOutputAvailable(const TPEAudioOutput)
const TInt &AudioVolume()
const TPEBarringInfo &BarringInfo()
CCCECallParameters::TCCELineType CallALSLine(const TInt)
const TDesC &CallBackAddress()
const MPEClientInformation &CallClientInformation(const TInt)
TInt CallConference(const TInt)
TPECallControlCaps CallControlCaps(const TInt)
RMobileCall::TMobileCallDirection CallDirection(const TInt)
const TInt &CallDuration()
TTimeIntervalSeconds CallDuration(const TInt)
TBool CallForwarded(const TInt)
const TInt &CallId()
TPECallOrigin CallOrigin(const TInt)
RMobilePhone::TMobileService CallService(const TInt)
const TTime &CallStartTime(const TInt)
TPEState CallState(const TInt)
TPECallType CallType(const TInt)
const TPECallType &CallTypeCommand()
const TPtrCCallerImage(const TInt)
const TPtrCCallerText(const TInt)
CFbsBitmap *CallerThumbnail(const TInt)
TBool CheckIfCallStateExists(const TPEState &)
TUint32 ConferenceCallCaps(const TInt)
TPEState ConferenceCallState()
const TName &ConferenceMemberName(const TInt)
const TArray< TContactItemId >ContactGroups(const TInt)
const TDesC8 &ContactLink(const TInt)
const TName &DataPortName()
const TPEDtmfString &DtmfString()
const TPEPhoneNumber &EmergencyNumber()
const TPEErrorInfo &ErrorInfo()
const CDesC8Array *ForwardAddressChoices(TInt)
TInt ForwardAddressIndex()
TBool HasCallerThumbnail(const TInt)
TInt IsConferenceMemberId(const TInt)
TBool IsSecureCall(const TInt)
TBool IsSwitchToOperationOngoing()
TBool IsTransferDial()
const TChar &KeyCode()
const TInt &KeypadVolume()
const TPELifeTimeData &LifeTimerData()
TBool LoggingIndicator(const TInt)
TBool MissedCall(const TInt)
const TNWNetworkRegistrationStatus &NetworkRegistrationStatus()
TInt NumberOfConferenceMembers(const TInt)
const TPEContactFileName &PersonalRingingTone(const TInt)
const TBool &PersonalToneStatus()
const TPEPhoneIdentityParameters &PhoneIdentityParameters()
const TPEPhoneNumber &PhoneNumber()
const TBool &PhoneNumberIsServiceCode()
const TInt &ProfileId()
const TPEProfileName &ProfileName()
const TPEPhoneNumber &RemoteColpNumber(const TInt)
const TPEContactCompany &RemoteCompanyName(const TInt)
RMobileCall::TMobileCallRemoteIdentityStatus RemoteIdentity(const TInt)
const TPEContactName &RemoteName(const TInt)
const TPEContactName &RemotePartyName(const TInt)
const TPEPhoneNumber &RemotePhoneNumber(const TInt)
const TPEPhoneNumberIdType &RemotePhoneNumberType(const TInt)
const CDesCArray &RemotePredefinedDtmfStrings(const TInt)
const TPtrCRemoteTextToSpeechText(const TInt)
const TPEContactFileName &RingingTone(const TInt &)
const TProfileRingingType &RingingType()
const TInt &RingingVolume()
const TPEPhoneAudioRouteParameters &RouteParameters()
const TPESSCommandInfo &SSCommandInfo()
TBool SecureSpecified()
TUint32 ServiceId(const TInt)
TUint32 ServiceIdCommand()
voidSetAudioMuteCommand(const TInt &)
voidSetAudioOutputCommand(const TPEAudioOutput &, const TBool)
voidSetAudioVolumeCommand(const TInt &)
voidSetCallBackAddress(const TDesC &)
voidSetCallId(const TInt &)
voidSetCallTypeCommand(const TPECallType &)
voidSetDtmfStringCommand(const TPEDtmfString &)
voidSetEmergencyNumber(const TPEPhoneNumber &)
voidSetForwardAddressChoices(const CDesC8Array *, TInt)
voidSetForwardAddressIndex(TInt)
voidSetIsTransferDial(TBool)
voidSetKeyCode(const TChar &)
voidSetPhoneNumber(const TPEPhoneNumber &)
voidSetServiceIdCommand(TUint32)
voidSetTransferTargetCommand(const TPEPhoneNumber &)
voidSetUnattendedTransferTarget(const TPEPhoneNumber &, TInt)
const TPESimState &SimState()
const TBool &TextToSpeech()
const TPEPhoneNumber &TransferTargetCommand()
const TBool &TwoDigitSupportStatus()
const TPEPhoneNumber &UnattendedTransferTarget(TInt)
const TPEPhoneNumber &VoiceMailBoxNumberLine1()
const TPEPhoneNumber &VoiceMailBoxNumberLine2()

Member Functions Documentation

ALSLine()

const CCCECallParameters::TCCELineType &ALSLine()const [pure virtual]

Gets active als line of the phone from TPEBasicInfo-structure

ALSLineSupport()

const TBool &ALSLineSupport()const [pure virtual]

Gets ALS support of the phone from TPEBasicInfo-structure

ActiveForwardingInfo()

const TPEActiveForwardInfo &ActiveForwardingInfo()const [pure virtual]

Gets active forwarding information from TPEBasicInfo-structure

AlertForGroup()

const TArray< TContactItemId >AlertForGroup()const [pure virtual]

Gets group ids which are active to play ring tone

AudioMute()

const TBool &AudioMute()const [pure virtual]

Gets audio mute value

AudioOutput()

const TPEAudioOutput &AudioOutput()const [pure virtual]

Gets current audio output path

AudioOutputAvailable(const TPEAudioOutput)

TBool AudioOutputAvailable(const TPEAudioOutputaOutput)const [pure virtual]

Gets audio output path availability

Parameters

const TPEAudioOutput aOutput

AudioVolume()

const TInt &AudioVolume()const [pure virtual]

Gets audio volume value

BarringInfo()

const TPEBarringInfo &BarringInfo()const [pure virtual]

Gets barring information from TPEBasicInfo-structure

CallALSLine(const TInt)

CCCECallParameters::TCCELineType CallALSLine(const TIntaCallId)const [pure virtual]

Gets line information for the specified call

Parameters

const TInt aCallIdis the call identification number

CallBackAddress()

const TDesC &CallBackAddress()const [pure virtual]

Returns unattended transfer call back address

CallClientInformation(const TInt)

const MPEClientInformation &CallClientInformation(const TIntaCallId)const [pure virtual]

Gets phone client information of the specified call

Parameters

const TInt aCallIdis the call identification number

CallConference(const TInt)

TInt CallConference(const TIntaCallId)const [pure virtual]

Gets conference value from TPECallInfo-structure

Parameters

const TInt aCallIdis the call identification number

CallControlCaps(const TInt)

TPECallControlCaps CallControlCaps(const TIntaCallId)const [pure virtual]

Gets call control caps from the TPECallInfo-structure

Parameters

const TInt aCallIdis the call identification number

CallDirection(const TInt)

RMobileCall::TMobileCallDirection CallDirection(const TIntaCallId)const [pure virtual]

Gets call direction of the specified call

Parameters

const TInt aCallIdis the call identification number

CallDuration()

const TInt &CallDuration()const [pure virtual]

Gets duration of the last call to go idle

CallDuration(const TInt)

TTimeIntervalSeconds CallDuration(const TIntaCallId)const [pure virtual]

Gets call duration of the ongoing or last active call with specified id

Parameters

const TInt aCallIdis the call identification number

CallForwarded(const TInt)

TBool CallForwarded(const TIntaCallId)const [pure virtual]

Gets forwarded value from TPECallInfo-structure

Parameters

const TInt aCallIdis the call identification number

CallId()

const TInt &CallId()const [pure virtual]

Gets identification number of a call

This value is used for determining the target for a command message that requires such information

CallOrigin(const TInt)

TPECallOrigin CallOrigin(const TIntaCallId)const [pure virtual]

Returns call origin for the call

Parameters

const TInt aCallId

CallService(const TInt)

RMobilePhone::TMobileService CallService(const TIntaCallId)const [pure virtual]

Gets Service information from TPECallInfo-structure

Parameters

const TInt aCallIdis the call identification number.

CallStartTime(const TInt)

const TTime &CallStartTime(const TIntaCallId)const [pure virtual]

Gets start time of the call

Parameters

const TInt aCallIdis the call identification number

CallState(const TInt)

TPEState CallState(const TIntaCallId)const [pure virtual]

Gets call state of a specified call

Parameters

const TInt aCallIdis the call identification number

CallType(const TInt)

TPECallType CallType(const TIntaCallId)const [pure virtual]

Gets type of the specified call

Parameters

const TInt aCallIdis the call identification number.

CallTypeCommand()

const TPECallType &CallTypeCommand()const [pure virtual]

Gets last set call type information

CallerImage(const TInt)

const TPtrCCallerImage(const TIntaCallId)const [pure virtual]

Get caller image

Parameters

const TInt aCallIdis the call identification number.

CallerText(const TInt)

const TPtrCCallerText(const TIntaCallId)const [pure virtual]

Get caller text

Parameters

const TInt aCallIdis the call identification number.

CallerThumbnail(const TInt)

CFbsBitmap *CallerThumbnail(const TIntaCallId)const [pure virtual]

Get caller thumbnail

Parameters

const TInt aCallIdis the call identification number.

CheckIfCallStateExists(const TPEState &)

TBool CheckIfCallStateExists(const TPEState &aCallState)[pure virtual]

Checks if given state can be found.

Parameters

const TPEState & aCallStatestate to be checked.

ConferenceCallCaps(const TInt)

TUint32 ConferenceCallCaps(const TIntaCallId)const [pure virtual]

Gets Conference call capabilities

Parameters

const TInt aCallIdis the call identification number

ConferenceCallState()

TPEState ConferenceCallState()const [pure virtual]

Gets call state of a conference call

ConferenceMemberName(const TInt)

const TName &ConferenceMemberName(const TIntaCallId)const [pure virtual]

Gets Conference call capabilities

Parameters

const TInt aCallIdis the call identification number

ContactGroups(const TInt)

const TArray< TContactItemId >ContactGroups(const TIntaCallId)const [pure virtual]

Get user group ids this contact is assigned to

Parameters

const TInt aCallIdis the call identification number.

ContactLink(const TInt)

const TDesC8 &ContactLink(const TIntaCallId)const [pure virtual]

Get remote contact link packet. See virtual phonebook API.

Parameters

const TInt aCallIdis the call identification number.

DataPortName()

const TName &DataPortName()const [pure virtual]

Gets the name of data port currently on-loan. Data port loaning is handled by CSPlugin and happens when a data call goes into connected state. The dataport is released when VT components indicate it can be released, i.e. video call hangup.

DtmfString()

const TPEDtmfString &DtmfString()const [pure virtual]

Gets dtmf string

EmergencyNumber()

const TPEPhoneNumber &EmergencyNumber()const [pure virtual]

Gets emergency number to be checked for validity

ErrorInfo()

const TPEErrorInfo &ErrorInfo()const [pure virtual]

Gets error code and cause values for the latest error

ForwardAddressChoices(TInt)

const CDesC8Array *ForwardAddressChoices(TIntaCallId)const [pure virtual]

Returns address choices from received call forward request or NULL if addresses are not available.

Parameters

TInt aCallIdCall identification number.

ForwardAddressIndex()

TInt ForwardAddressIndex()[pure virtual]

Returns array index for user selected address. Address is used for call forwarding.

HasCallerThumbnail(const TInt)

TBool HasCallerThumbnail(const TIntaCallId)const [pure virtual]

Get caller thumbnail status

Parameters

const TInt aCallId

IsConferenceMemberId(const TInt)

TInt IsConferenceMemberId(const TIntaCallId)const [pure virtual]

Gets Conference call capabilities

Parameters

const TInt aCallIdis the call identification number

IsSecureCall(const TInt)

TBool IsSecureCall(const TIntaCallId)const [pure virtual]

Gets secure status from call info

Parameters

const TInt aCallId

IsSwitchToOperationOngoing()

TBool IsSwitchToOperationOngoing()const [pure virtual]

Returns switch to operation status.

IsTransferDial()

TBool IsTransferDial()const [pure virtual]

Returns flag indicating unattended transfer dial

KeyCode()

const TChar &KeyCode()const [pure virtual]

Gets key code of the last key press

KeypadVolume()

const TInt &KeypadVolume()const [pure virtual]

Gets keypad volume value

LifeTimerData()

const TPELifeTimeData &LifeTimerData()const [pure virtual]

Gets lifetimer data

LoggingIndicator(const TInt)

TBool LoggingIndicator(const TIntaCallId)const [pure virtual]

Gets a logging indicator

Parameters

const TInt aCallId

MissedCall(const TInt)

TBool MissedCall(const TIntaCallId)const [pure virtual]

Get missed call indicator

Parameters

const TInt aCallId

NetworkRegistrationStatus()

const TNWNetworkRegistrationStatus &NetworkRegistrationStatus()const [pure virtual]

Gets network registration status

NumberOfConferenceMembers(const TInt)

TInt NumberOfConferenceMembers(const TIntaCallId)const [pure virtual]

Gets number of the conference members

Parameters

const TInt aCallIdis the call identification number

PersonalRingingTone(const TInt)

const TPEContactFileName &PersonalRingingTone(const TIntaCallId)const [pure virtual]

Get ringing tone Returns a ringing tone defined for one of the user groups if personal tone is not found

Parameters

const TInt aCallId

PersonalToneStatus()

const TBool &PersonalToneStatus()const [pure virtual]

Gets personal tone status

PhoneIdentityParameters()

const TPEPhoneIdentityParameters &PhoneIdentityParameters()const [pure virtual]

Gets phone identity parameters

PhoneNumber()

const TPEPhoneNumber &PhoneNumber()const [pure virtual]

Gets phone number

PhoneNumberIsServiceCode()

const TBool &PhoneNumberIsServiceCode()const [pure virtual]

Gets phone number parsing result

ProfileId()

const TInt &ProfileId()const [pure virtual]

Gets profile id

ProfileName()

const TPEProfileName &ProfileName()const [pure virtual]

Gets profile name

RemoteColpNumber(const TInt)

const TPEPhoneNumber &RemoteColpNumber(const TIntaCallId)const [pure virtual]

Get remote end connected phone number

Parameters

const TInt aCallId

RemoteCompanyName(const TInt)

const TPEContactCompany &RemoteCompanyName(const TIntaCallId)const [pure virtual]

Gets contact company name

Parameters

const TInt aCallId

RemoteIdentity(const TInt)

RMobileCall::TMobileCallRemoteIdentityStatus RemoteIdentity(const TIntaCallId)const [pure virtual]

Gets remote party identity

Parameters

const TInt aCallIdis the Call identification number

RemoteName(const TInt)

const TPEContactName &RemoteName(const TIntaCallId)const [pure virtual]

Gets contact name Depending on user selected language may be in order: first + last name OR last + first name

Parameters

const TInt aCallId

RemotePartyName(const TInt)

const TPEContactName &RemotePartyName(const TIntaCallId)const [pure virtual]

Gets remote party name. Contains possible recieved CNAP name or received skype identification

Parameters

const TInt aCallId

RemotePhoneNumber(const TInt)

const TPEPhoneNumber &RemotePhoneNumber(const TIntaCallId)const [pure virtual]

Gets remote end phone number

Parameters

const TInt aCallId

RemotePhoneNumberType(const TInt)

const TPEPhoneNumberIdType &RemotePhoneNumberType(const TIntaCallId)const [pure virtual]

Gets remote end phone number type

Parameters

const TInt aCallId

RemotePredefinedDtmfStrings(const TInt)

const CDesCArray &RemotePredefinedDtmfStrings(const TIntaCallId)const [pure virtual]

Gets remote predefined dtmf strings

Parameters

const TInt aCallId

RemoteTextToSpeechText(const TInt)

const TPtrCRemoteTextToSpeechText(const TIntaCallId)const [pure virtual]

Gets text to speech text for this contact. Used in text to speech ringing tone.

Parameters

const TInt aCallId

RingingTone(const TInt &)

const TPEContactFileName &RingingTone(const TInt &aCallId)const [pure virtual]

Gets ringing tone name

Parameters

const TInt & aCallId

RingingType()

const TProfileRingingType &RingingType()const [pure virtual]

Gets ringing type

RingingVolume()

const TInt &RingingVolume()const [pure virtual]

Gets current ringing volume

RouteParameters()

const TPEPhoneAudioRouteParameters &RouteParameters()const [pure virtual]

Gets phone audio route parameters

SSCommandInfo()

const TPESSCommandInfo &SSCommandInfo()const [pure virtual]

Gets the last suplementary services string command information

SecureSpecified()

TBool SecureSpecified()const [pure virtual]

Gets secure specified status

ServiceId(const TInt)

TUint32 ServiceId(const TIntaCallId)const [pure virtual]

Gets ServiceId

Parameters

const TInt aCallId

ServiceIdCommand()

TUint32 ServiceIdCommand()const [pure virtual]

Returns the service-id used for the command.

SetAudioMuteCommand(const TInt &)

voidSetAudioMuteCommand(const TInt &aAudioMute)[pure virtual]

Sets audio mute command to TPEBasicInfo-structure

Parameters

const TInt & aAudioMuteis audio mute

SetAudioOutputCommand(const TPEAudioOutput &, const TBool)

voidSetAudioOutputCommand(const TPEAudioOutput &aOutput,
const TBoolaShowNote
)[pure virtual]

Sets audio output command to TPEBasicInfo-structure

Parameters

const TPEAudioOutput & aOutputis audio output path
const TBool aShowNoteis audio note value

SetAudioVolumeCommand(const TInt &)

voidSetAudioVolumeCommand(const TInt &aAudioVolume)[pure virtual]

Sets audio volume command to TPEBasicInfo-structure

Parameters

const TInt & aAudioVolumeis audio volume

SetCallBackAddress(const TDesC &)

voidSetCallBackAddress(const TDesC &aAddress)[pure virtual]

Sets unattended transfer call back address

Parameters

const TDesC & aAddressUnattended transfer call back address

SetCallId(const TInt &)

voidSetCallId(const TInt &aCallId)[pure virtual]

Sets CallId value to TPECallCommandInfo-structure

Parameters

const TInt & aCallIdis the call id number.

SetCallTypeCommand(const TPECallType &)

voidSetCallTypeCommand(const TPECallType &aCallType)[pure virtual]

Sets call type information for following command message Used for specifying the call type of the next attempted call

Parameters

const TPECallType & aCallTypeis the call type of the next attempted call

SetDtmfStringCommand(const TPEDtmfString &)

voidSetDtmfStringCommand(const TPEDtmfString &aDtmfString)[pure virtual]

Sets dtmf string value to TPEBasicInfo-structure

Parameters

const TPEDtmfString & aDtmfStringis the dtmf string to be sent.

SetEmergencyNumber(const TPEPhoneNumber &)

voidSetEmergencyNumber(const TPEPhoneNumber &aEmergencyNumbers)[pure virtual]

Sets emergency numbers of the phone to TPEBasicInfo-structure

Parameters

const TPEPhoneNumber & aEmergencyNumbers

SetForwardAddressChoices(const CDesC8Array *, TInt)

voidSetForwardAddressChoices(const CDesC8Array *aArray,
TIntaCallId
)[pure virtual]

Sets address choices from received call forward request.

Parameters

const CDesC8Array * aArrayAddress array.
TInt aCallIdCall identification number.

SetForwardAddressIndex(TInt)

voidSetForwardAddressIndex(TIntaIndex)[pure virtual]

Sets array index for user selected address.

Parameters

TInt aIndexArray index for selected address.

SetIsTransferDial(TBool)

voidSetIsTransferDial(TBoolaTransferDial)[pure virtual]

Sets flag indicating unattended transfer dial

Parameters

TBool aTransferDialETrue if voip unattended transfer dial was initiated

SetKeyCode(const TChar &)

voidSetKeyCode(const TChar &aKeyCode)[pure virtual]

Sets key code value to TPEBasicInfo-structure

Parameters

const TChar & aKeyCodeis the key code value.

SetPhoneNumber(const TPEPhoneNumber &)

voidSetPhoneNumber(const TPEPhoneNumber &aPhoneNumber)[pure virtual]

Sets phone number to TPECallCommandInfo-structure

Parameters

const TPEPhoneNumber & aPhoneNumberis the phone number

SetServiceIdCommand(TUint32)

voidSetServiceIdCommand(TUint32aServiceId)[pure virtual]

SetServiceIdCommand

Parameters

TUint32 aServiceId

SetTransferTargetCommand(const TPEPhoneNumber &)

voidSetTransferTargetCommand(const TPEPhoneNumber &aTransferTarget)[pure virtual]

Sets transfer target address for unattended transfer

Parameters

const TPEPhoneNumber & aTransferTargetTarget address for unattended transfer

SetUnattendedTransferTarget(const TPEPhoneNumber &, TInt)

voidSetUnattendedTransferTarget(const TPEPhoneNumber &aTarget,
TIntaCallId
)[pure virtual]

Sets transfer target from the last received unattended transfer request.

Parameters

const TPEPhoneNumber & aTargetTransfer target to set.
TInt aCallIdCall identification number.

SimState()

const TPESimState &SimState()const [pure virtual]

Gets Sim state

TextToSpeech()

const TBool &TextToSpeech()const [pure virtual]

Gets text-to-speech preference setting value

TransferTargetCommand()

const TPEPhoneNumber &TransferTargetCommand()const [pure virtual]

Returns transfer target address

TwoDigitSupportStatus()

const TBool &TwoDigitSupportStatus()const [pure virtual]

Gets two digit support status value

UnattendedTransferTarget(TInt)

const TPEPhoneNumber &UnattendedTransferTarget(TIntaCallId)const [pure virtual]

Returns transfer target from the last received unattended transfer request or KNullDesC if transfer target is not available.

Parameters

TInt aCallId

VoiceMailBoxNumberLine1()

const TPEPhoneNumber &VoiceMailBoxNumberLine1()const [pure virtual]

Gets VoiceMailBoxNumber for Line 1 information from TPEBasicInfo-structure

VoiceMailBoxNumberLine2()

const TPEPhoneNumber &VoiceMailBoxNumberLine2()const [pure virtual]

Gets VoiceMailBoxNumber for Line 2 information from TPEBasicInfo-structure