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

  • CPhCltCommandHandler

Constructor & Destructor Documentation

CPhCltCommandHandler()

CPhCltCommandHandler()[protected]

C++ constructor.

Member Functions Documentation

Ata(TRequestStatus &)

IMPORT_C voidAta(TRequestStatus &aStatus)[pure virtual]

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

Parameters

TRequestStatus & aStatusThe 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 voidAtd(TRequestStatus &aStatus,
const TPhCltTelephoneNumber &aTelephoneNumber
)[pure virtual]

Dial. Only voice call is supported.

Parameters

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

CancelAsyncRequest(const TPhCltComHandCommand)

IMPORT_C voidCancelAsyncRequest(const TPhCltComHandCommandaReqToCancel)[pure virtual]

Cancel the ongoing asynchronous request.

Parameters

const TPhCltComHandCommand aReqToCancelThe request to be canceled.

Chld(TRequestStatus &, const TPhCltChldCommand, const TUint)

IMPORT_C voidChld(TRequestStatus &aStatus,
const TPhCltChldCommandaChldCommand,
const TUintaCallNumber
)[pure virtual]

Call hold and multiparty handling.

Parameters

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

Chup(TRequestStatus &)

IMPORT_C voidChup(TRequestStatus &aStatus)[pure virtual]

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

Parameters

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

MuteMicrophone(TRequestStatus &, const TBool)

IMPORT_C voidMuteMicrophone(TRequestStatus &aStatus,
const TBoolaMute
)[pure virtual]

Mute microphone

Since
2.8

Parameters

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

MuteRingingTone(TRequestStatus &)

IMPORT_C voidMuteRingingTone(TRequestStatus &aStatus)[pure virtual]

Mute RingingTone

Since
2.8

Parameters

TRequestStatus & aStatusThe 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 voidVts(TRequestStatus &aStatus,
const TPhCltDtmfToneaDtmfTone,
const TPhCltDtmfActionaAction
)[pure virtual]

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

Parameters

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