MEngineMonitor Class Reference

class MEngineMonitor

Offers message interface from phone engine to phone application.

phonenegine.lib
Since
S60 v.4.0
Public Member Functions
voidHandleError(const TPEErrorInfo &)
voidHandleMessage(const TInt, const TInt)
Public Member Enumerations
enumTPEMessagesFromPhoneEngine {
EPEMessageAudioDtmfEvent = 1000, EPEMessageAudioDTMFPlayComplete, EPEMessageAudioMuteChanged, EPEMessageAudioOutputChanged, EPEMessageAudioOutputPreferenceChanged, EPEMessageAudioPlayStopped, EPEMessageAudioVolumeChanged, EPEMessageAvailableAudioOutputsChanged, EPEMessageAnswer = 2000, EPEMessageAnswering, EPEMessageCallAdded, EPEMessageCallControlCapsChanged, EPEMessageCallWaiting, EPEMessageCallWaitingAnswered, EPEMessageChangedCallDuration, EPEMessageConferenceCapsChange, EPEMessageConferenceIdle, EPEMessageConnected, EPEMessageConnectedConference, EPEMessageConnecting, EPEMessageContinuingDTMFSending, EPEMessageDialing, EPEMessageDialingError, EPEMessageDisconnecting, EPEMessageDisconnectingConference, EPEMessageDisconnectingWithInband, EPEMessageDTMFSendingAborted, EPEMessageHeld, EPEMessageHeldConference, EPEMessageIdle, EPEMessageIncoming, EPEMessageInitiatedEmergencyCall, EPEMessageInitiatedEmergencyWhileActiveVideo, EPEMessageInitiatedMoCall, EPEMessageInvalidSpeedDial, EPEMessageIssuingUSSDRequest, EPEMessageIssuedUSSDRequest, EPEMessagePacketNetworkDetached, EPEMessagePromptSpeedDial, EPEMessageRemoteBusy, EPEMessageRemoteTerminated, EPEMessageSendingDTMF, EPEMessageSentDTMF, EPEMessageSentSSString, EPEMessageSpeedDialNotAssigned, EPEMessageStoppedDTMF, EPEMessageSwapped, EPEMessageTransferDone, EPEMessageTransferring, EPEMessageUnknown, EPEMessageWentOneToOne, EPEMessageRemotePartyInfoChanged, EPEMessageConnectingWithInband, EPEMessageUnattendedTransferRequest, EPEMessageRemoteForwarding, EPEMessageMovedPermanently, EPEMessageMultipleChoices, EPEMessageColpNumberAvailable, EPEMessageTransferCallBackRequest, EPEMessageThumbnailLoadingCompleted = 3000, EPEMessageError = 4000, EPEMessageAudioHandlingError, EPEMessageCallHandlingError, EPEMessageConferenceErrorAddCall, EPEMessageConferenceErrorRemoveCall, EPEMessageConferenceErrorSwap, EPEMessageConferenceErrorHold, EPEMessageConferenceErrorResume, EPEMessageConferenceErrorGoOneToOne, EPEMessageConferenceErrorCurrentCallsToConference, EPEMessageConferenceErrorHangUp, EPEMessageContactHandlingError, EPEMessageLogHandlingError, EPEMessageServiceHandlingError, EPEMessageCallSecureStatusChanged = 5000, EPEMessageNetworkRegistrationStatusChange, EPEMessageActivateRfsDeep = 6000, EPEMessageActivateRfsNormal, EPEMessageActivateWarrantyMode, EPEMessageShowBTDeviceAddress, EPEMessageShowBTLoopback, EPEMessageShowIMEI, EPEMessageShowVersion, EPEMessageShowWlanMacAddress, EPEMessageSSRequestFailed, EPEMessageBTDebugMode, EPEMessageBadBarringPasswordChange = 7000, EPEMessageBadPin1Change, EPEMessageBadPin1Unblock, EPEMessageBadPin2Change, EPEMessageBadPin2Unblock, EPEMessageBarringPasswordChanged, EPEMessageChangedSimLock, EPEMessageFailedChangeSimLock, EPEMessageFailedNewPin1AndPin2NotEqual, EPEMessageFailedSecurityCommandAlreadyActive, EPEMessagePin1Changed, EPEMessagePin1Unblocked, EPEMessagePin2Changed, EPEMessagePin2Unblocked, EPEMessageSIMChanged, EPEMessageSIMStateChanged, EPEMessageProfileChanged = 8000, EPEMessagePEConstructionReady = 9000, EPEMessagePEConstructionFailed, EPEMessagePEConstructionTwoPhaseReady, EPEMessageDoNotSendMe = 10000, EPEMessageInValidEmergencyNumber, EPEMessageLogEventSaved, EPEMessagePhoneIdentityReady, EPEMessageStartATDialing, EPEMessageValidEmergencyNumber, EPEMessageMuteRingingTone, EPEMessageActiveBarring = KPEMessagesFromPhoneEngineGsmFirst + 200, EPEMessageActiveCallForwarding, EPEMessageAddedConferenceMember, EPEMessageALSLineChanged, EPEMessageCallBarred, EPEMessageIncCallIsForw, EPEMessageIncCallForwToC, EPEMessageOutCallForwToC, EPEMessageForwardUnconditionalModeActive, EPEMessageForwardConditionallyModeActive, EPEMessageDroppedConferenceMember, EPEMessageGoingOneToOne, EPEMessageRemoteCreatedConference, EPEMessageRemoteHeld, EPEMessageRemoteResumed, EPEMessageTempClirSuppressUnsuccessful, EPEMessageTempClirActivationUnsuccessful, EPEMessageShowIncCallGroupIndex, EPEMessageDataPortLoaned, EPEMessageServiceEnabled = KPEMessagesFromPhoneEngineGsmFirst + 800, EPEMessageServiceEnabling, EPEMessageNoService, EPEMessageServiceDisabled, EPEMessageIssuedSSRequest = KPEMessagesFromPhoneEngineGsmFirst + 1000, EPEMessageIssuingSSRequest, EPEMessageSecureNotSpecified, EPEMessageAlsStatusChanged = KPEMessagesFromPhoneEngineGsmFirst + 1400, EPEMessageBarringNotification, EPEMessageClipStatusNotification, EPEMessageClirStatusNotification, EPEMessageCnapStatusNotification, EPEMessageColpStatusNotification, EPEMessageColrStatusNotification, EPEMessageForwardingNotification, EPEMessageVmbxNumberLine1Changed, EPEMessageVmbxNumberLine2Changed, EPEMessageWaitingNotification, EPEMessageLastVariantItem = KPEMessagesFromPhoneEngineGsmLast
}

Member Functions Documentation

HandleError(const TPEErrorInfo &)

voidHandleError(const TPEErrorInfo &aErrorInfo)[pure virtual]

HandleError Phone Application implements this callback method to provide a framework for proceeding in an error condition.

Parameters

const TPEErrorInfo & aErrorInfois the call id number.

HandleMessage(const TInt, const TInt)

voidHandleMessage(const TIntaMessage,
const TIntaCallId
)[pure virtual]

HandleMessage Phone Application implements this callback method to provide a response for an event message sent by the Phone Engine.

Parameters

const TInt aMessagespecifies the event that has taken place
const TInt aCallIdis the call id number.

Member Enumerations Documentation

Enum TPEMessagesFromPhoneEngine

Enumerators

EPEMessageAudioDtmfEvent = 1000
EPEMessageAudioDTMFPlayComplete
EPEMessageAudioMuteChanged
EPEMessageAudioOutputChanged
EPEMessageAudioOutputPreferenceChanged
EPEMessageAudioPlayStopped
EPEMessageAudioVolumeChanged
EPEMessageAvailableAudioOutputsChanged
EPEMessageAnswer = 2000
EPEMessageAnswering
EPEMessageCallAdded
EPEMessageCallControlCapsChanged
EPEMessageCallWaiting
EPEMessageCallWaitingAnswered
EPEMessageChangedCallDuration
EPEMessageConferenceCapsChange
EPEMessageConferenceIdle
EPEMessageConnected
EPEMessageConnectedConference
EPEMessageConnecting
EPEMessageContinuingDTMFSending
EPEMessageDialing
EPEMessageDialingError
EPEMessageDisconnecting
EPEMessageDisconnectingConference
EPEMessageDisconnectingWithInband
EPEMessageDTMFSendingAborted
EPEMessageHeld
EPEMessageHeldConference
EPEMessageIdle
EPEMessageIncoming
EPEMessageInitiatedEmergencyCall
EPEMessageInitiatedEmergencyWhileActiveVideo
EPEMessageInitiatedMoCall
EPEMessageInvalidSpeedDial
EPEMessageIssuingUSSDRequest
EPEMessageIssuedUSSDRequest
EPEMessagePacketNetworkDetached
EPEMessagePromptSpeedDial
EPEMessageRemoteBusy
EPEMessageRemoteTerminated
EPEMessageSendingDTMF
EPEMessageSentDTMF
EPEMessageSentSSString
EPEMessageSpeedDialNotAssigned
EPEMessageStoppedDTMF
EPEMessageSwapped
EPEMessageTransferDone
EPEMessageTransferring
EPEMessageUnknown
EPEMessageWentOneToOne
EPEMessageRemotePartyInfoChanged
EPEMessageConnectingWithInband
EPEMessageUnattendedTransferRequest
EPEMessageRemoteForwarding
EPEMessageMovedPermanently
EPEMessageMultipleChoices
EPEMessageColpNumberAvailable
EPEMessageTransferCallBackRequest
EPEMessageThumbnailLoadingCompleted = 3000
EPEMessageError = 4000
EPEMessageAudioHandlingError
EPEMessageCallHandlingError
EPEMessageConferenceErrorAddCall
EPEMessageConferenceErrorRemoveCall
EPEMessageConferenceErrorSwap
EPEMessageConferenceErrorHold
EPEMessageConferenceErrorResume
EPEMessageConferenceErrorGoOneToOne
EPEMessageConferenceErrorCurrentCallsToConference
EPEMessageConferenceErrorHangUp
EPEMessageContactHandlingError
EPEMessageLogHandlingError
EPEMessageServiceHandlingError
EPEMessageCallSecureStatusChanged = 5000
EPEMessageNetworkRegistrationStatusChange
EPEMessageActivateRfsDeep = 6000
EPEMessageActivateRfsNormal
EPEMessageActivateWarrantyMode
EPEMessageShowBTDeviceAddress
EPEMessageShowBTLoopback
EPEMessageShowIMEI
EPEMessageShowVersion
EPEMessageShowWlanMacAddress
EPEMessageSSRequestFailed
EPEMessageBTDebugMode
EPEMessageBadBarringPasswordChange = 7000
EPEMessageBadPin1Change
EPEMessageBadPin1Unblock
EPEMessageBadPin2Change
EPEMessageBadPin2Unblock
EPEMessageBarringPasswordChanged
EPEMessageChangedSimLock
EPEMessageFailedChangeSimLock
EPEMessageFailedNewPin1AndPin2NotEqual
EPEMessageFailedSecurityCommandAlreadyActive
EPEMessagePin1Changed
EPEMessagePin1Unblocked
EPEMessagePin2Changed
EPEMessagePin2Unblocked
EPEMessageSIMChanged
EPEMessageSIMStateChanged
EPEMessageProfileChanged = 8000
EPEMessagePEConstructionReady = 9000
EPEMessagePEConstructionFailed
EPEMessagePEConstructionTwoPhaseReady
EPEMessageDoNotSendMe = 10000
EPEMessageInValidEmergencyNumber
EPEMessageLogEventSaved
EPEMessagePhoneIdentityReady
EPEMessageStartATDialing
EPEMessageValidEmergencyNumber
EPEMessageMuteRingingTone
EPEMessageActiveBarring = KPEMessagesFromPhoneEngineGsmFirst + 200
EPEMessageActiveCallForwarding
EPEMessageAddedConferenceMember
EPEMessageALSLineChanged
EPEMessageCallBarred
EPEMessageIncCallIsForw
EPEMessageIncCallForwToC
EPEMessageOutCallForwToC
EPEMessageForwardUnconditionalModeActive
EPEMessageForwardConditionallyModeActive
EPEMessageDroppedConferenceMember
EPEMessageGoingOneToOne
EPEMessageRemoteCreatedConference
EPEMessageRemoteHeld
EPEMessageRemoteResumed
EPEMessageTempClirSuppressUnsuccessful
EPEMessageTempClirActivationUnsuccessful
EPEMessageShowIncCallGroupIndex
EPEMessageDataPortLoaned
EPEMessageServiceEnabled = KPEMessagesFromPhoneEngineGsmFirst + 800
EPEMessageServiceEnabling
EPEMessageNoService
EPEMessageServiceDisabled
EPEMessageIssuedSSRequest = KPEMessagesFromPhoneEngineGsmFirst + 1000
EPEMessageIssuingSSRequest
EPEMessageSecureNotSpecified
EPEMessageAlsStatusChanged = KPEMessagesFromPhoneEngineGsmFirst + 1400
EPEMessageBarringNotification
EPEMessageClipStatusNotification
EPEMessageClirStatusNotification
EPEMessageCnapStatusNotification
EPEMessageColpStatusNotification
EPEMessageColrStatusNotification
EPEMessageForwardingNotification
EPEMessageVmbxNumberLine1Changed
EPEMessageVmbxNumberLine2Changed
EPEMessageWaitingNotification
EPEMessageLastVariantItem = KPEMessagesFromPhoneEngineGsmLast