MCCPObserver Class Reference

class MCCPObserver

CCP observer class. Observer for CCP events, errors and statuses etc.

Since
S60 3.2
Public Member Functions
voidCallCreated(MCCPCall *, MCCPCall *, TBool)
voidErrorOccurred(MCCPObserver::TCCPError)
voidIncomingCall(MCCPCall *)
voidIncomingCall(MCCPCall *, MCCPCall &)
Protected Member Functions
~MCCPObserver()
Public Member Enumerations
enumTCCPError { ECCPRegistrationFailed = KCCPErrorBase - 1, ECCPUnregistrationFailed = KCCPErrorBase - 2, ECCPNotImplemented = KCCPErrorBase - 3, ECCPError = KCCPErrorBase - 4, ECCPIncomingCallFailed = KCCPErrorBase - 5 }

Constructor & Destructor Documentation

~MCCPObserver()

~MCCPObserver()[protected, inline, virtual]
Protects the observer being deleted through the observer interface
Since
S60 3.2

Member Functions Documentation

CallCreated(MCCPCall *, MCCPCall *, TBool)

voidCallCreated(MCCPCall *aNewTransferCall,
MCCPCall *aOriginator,
TBoolaAttended
)[pure virtual]
Indicate an arrived transfer request. Called at the transfer request receiver end, after receiving a transfer request . For incoming transfer at transfer target end see MCCPObserver::IncomingCall with two call objects as parameters.
Since
S60 3.2

Parameters

MCCPCall * aNewTransferCallThe call that has been created with the new transfer target.
MCCPCall * aOriginatorPointer to originator of the transfer request.
TBool aAttendedTransfer requested was attented (ETrue) or un-attented(EFalse)

ErrorOccurred(MCCPObserver::TCCPError)

voidErrorOccurred(MCCPObserver::TCCPErroraError)[pure virtual]
An error has occurred concerning the connection.
Since
S60 3.2

Parameters

MCCPObserver::TCCPError aErrorError code.

IncomingCall(MCCPCall *)

voidIncomingCall(MCCPCall *aCall)[pure virtual]
Incoming call invitation in MT call case.
Since
S60 3.2

Parameters

MCCPCall * aCallPointer to the newly created incoming call.

IncomingCall(MCCPCall *, MCCPCall &)

voidIncomingCall(MCCPCall *aCall,
MCCPCall &aTempCall
)[pure virtual]
Incoming call invitation in attended transfer case. Occurs at transfer target end. For incoming transfer at transferor end see MCCPObserver::CallCreated.
Since
S60 3.2

Parameters

MCCPCall * aCallIncomingCall transfer call.
MCCPCall & aTempCallPointer to the held call.

Member Enumerations Documentation

Enum TCCPError

Enumerators

ECCPRegistrationFailed = KCCPErrorBase - 1

Registration failed

ECCPUnregistrationFailed = KCCPErrorBase - 2

Unregistration failed

ECCPNotImplemented = KCCPErrorBase - 3

Not implemented

ECCPError = KCCPErrorBase - 4

Error occured

ECCPIncomingCallFailed = KCCPErrorBase - 5

Plugin not able to handle incoming call