CPhCltCommandHandler Class Reference

class CPhCltCommandHandler : public CBase

Interface for Command Handler requests. At most one asynchronous request can be ongoing at the same time!

PhoneClient.lib
Since
3.2

Inherits from

Constructor & Destructor Documentation

CPhCltCommandHandler()

CPhCltCommandHandler ( ) [protected]

C++ constructor.

Member Functions Documentation

Ata(TRequestStatus &)

IMPORT_C void Ata ( TRequestStatus & aStatus ) [pure virtual]

Answer the call. Does not need response according to specification.

Parameters

TRequestStatus & aStatus The status updated when function call is completed. KErrNone if successful, Symbian error code otherwise. KErrNotReady if there is no call to be answered.

Atd(TRequestStatus &, const TPhCltTelephoneNumber &)

IMPORT_C void Atd ( TRequestStatus & aStatus,
const TPhCltTelephoneNumber & aTelephoneNumber
) [pure virtual]

Dial. Only voice call is supported.

Parameters

TRequestStatus & aStatus The status updated when function call is completed. KErrNone if successful, Symbian error code otherwise.
const TPhCltTelephoneNumber & aTelephoneNumber The dial information.

CancelAsyncRequest(const TPhCltComHandCommand)

IMPORT_C void CancelAsyncRequest ( const TPhCltComHandCommand aReqToCancel ) [pure virtual]

Cancel the ongoing asynchronous request.

Parameters

const TPhCltComHandCommand aReqToCancel The request to be canceled.

Chld(TRequestStatus &, const TPhCltChldCommand, const TUint)

IMPORT_C void Chld ( TRequestStatus & aStatus,
const TPhCltChldCommand aChldCommand,
const TUint aCallNumber
) [pure virtual]

Call hold and multiparty handling.

Parameters

TRequestStatus & aStatus The status updated when function call is completed. KErrNone if successful, Symbian error code otherwise.
const TPhCltChldCommand aChldCommand The command to be performed.
const TUint aCallNumber The call number where the command specified in aChldCommand is targeted. Not used currently.

Chup(TRequestStatus &)

IMPORT_C void Chup ( TRequestStatus & aStatus ) [pure virtual]

Hang up current call. Does not need response according to specification.

Parameters

TRequestStatus & aStatus The status updated when function call is completed. KErrNone if successful, Symbian error code otherwise.

MuteMicrophone(TRequestStatus &, const TBool)

IMPORT_C void MuteMicrophone ( TRequestStatus & aStatus,
const TBool aMute
) [pure virtual]

Mute microphone

Since
2.8

Parameters

TRequestStatus & aStatus The status updated when function call is completed. KErrNone if successful, Symbian error code otherwise.
const TBool aMute ETrue if Microphone Mute is se on.

MuteRingingTone(TRequestStatus &)

IMPORT_C void MuteRingingTone ( TRequestStatus & aStatus ) [pure virtual]

Mute RingingTone

Since
2.8

Parameters

TRequestStatus & aStatus The status updated when function call is completed. KErrNone if successful, Symbian error code otherwise.

NewL()

IMPORT_C CPhCltCommandHandler * NewL ( ) [static]

Two-phased constructor.

Vts(TRequestStatus &, const TPhCltDtmfTone, const TPhCltDtmfAction)

IMPORT_C void Vts ( TRequestStatus & aStatus,
const TPhCltDtmfTone aDtmfTone,
const TPhCltDtmfAction aAction
) [pure virtual]

DTMF sending, starting and stopping in same function. Does not need response according to specification.

Parameters

TRequestStatus & aStatus The status updated when function call is completed. KErrNone if successful, Symbian error code otherwise.
const TPhCltDtmfTone aDtmfTone The DTMF tone to be sent.
const TPhCltDtmfAction aAction