MCCPEmergencyCall Class Reference

class MCCPEmergencyCall
Emergency call class
Since
S60 3.2
Public Member Functions
TInt Answer()
TInt Cancel()
TInt Dial(const TDesC &)
TInt HangUp()
Protected Member Functions
~MCCPEmergencyCall()

Constructor & Destructor Documentation

~MCCPEmergencyCall()

~MCCPEmergencyCall()[protected, inline, virtual]
Protected destructor. Object cannot be deleted from plug-in client (CCE).
Since
S60 3.2

Member Functions Documentation

Answer()

TInt Answer()[pure virtual]
Answers to an incoming call. TODO: remove as unneeded? no answer supported ?
Since
S60 3.2

Cancel()

TInt Cancel()[pure virtual]
Called by CCE instead of HangUp when Dial has been called and state change to MCCPCallObserver::ECCPStateConnecting has not been received. Cancels the last ongoing request. Used for Dial only. Not supported for other actions. If the request cannot be started then an error will be returned immediately as return value. In succesfull case KErrNone will be returned and the requested action has been started.
Since
S60 3.2
Pre-condition
MCCPEmergencyCall::Dial has been called and call state is MCCPCallObserver::ECCPIdle

Dial(const TDesC &)

TInt Dial(const TDesC &aRecipient =  KNullDesC )[pure virtual]
Dials an emergency call.
Since
S60 3.2

Parameters

const TDesC & aRecipient =  KNullDesC Emergency call address suggested to be used. Can be given also in CConvergedCallProvider::NewEmergencyCallL. Plug-in will use given address and/or its own known one. Preferred address usage order: 1) Plug-in own emergency address 2) Address given in Dial 3) Address given in CConvergedCallProvider::NewEmergencyCallL.

HangUp()

TInt HangUp()[pure virtual]
Ends an ongoing call.
Since
S60 3.2