MPhCntPhonebookServices Class Reference

class MPhCntPhonebookServices

Interface for phonebook services.

PhoneCntFinder.lib
Since
S60 v3.2

Constructor & Destructor Documentation

~MPhCntPhonebookServices()

~MPhCntPhonebookServices ( ) [inline, virtual]

Virtual destructor.

Since
S60 v3.2

Member Functions Documentation

CancelRequest()

void CancelRequest ( ) [pure virtual]

Cancels outstanding request.

Since
S60 v3.2

CreateNewContactL(const TDesC &)

void CreateNewContactL ( const TDesC & aPhoneNumber ) [pure virtual]

Create new contact to phonebook.

Since
S60 v3.2

Parameters

const TDesC & aPhoneNumber Number of the new contact.

GetPhoneNumberL(const TDesC8 &, const CPhCntSingleItemFetch::TCallType, HBufC *&, HBufC8 *&)

void GetPhoneNumberL ( const TDesC8 & aContactLink,
const CPhCntSingleItemFetch::TCallType aCallType,
HBufC *& aNumber,
HBufC8 *& aFieldLink
) [pure virtual]

Gets a phone number from the contact.

Parameters

const TDesC8 & aContactLink Contact link.
const CPhCntSingleItemFetch::TCallType aCallType Number type.
HBufC *& aNumber User selected phone number.
HBufC8 *& aFieldLink Contact link (field link) to the number selected by user.

GetUserSelectedContactLC(MPhCntServiceRequestParam &)

CPhCntContact * GetUserSelectedContactLC ( MPhCntServiceRequestParam & aParam ) [pure virtual]

Gets contact selected by user.

Since
S60 v3.2

Parameters

MPhCntServiceRequestParam & aParam Parameters passed to AIW.

GetUserSelectedDtmfNumberL(CPhCntContactId *&, HBufC *&)

void GetUserSelectedDtmfNumberL ( CPhCntContactId *& aContactId,
HBufC *& aDtmfNumber
) [pure virtual]

Gets user selected dtmf number and contact id.

Since
S60 v3.2

Parameters

CPhCntContactId *& aContactId Contact id of the contact, may be null
HBufC *& aDtmfNumber Dtmf number, may be null. KErrCancel - User canceled the fetch Other system wide error codes.

GetUserSelectedPhoneNumberL(CPhCntContactId *&, HBufC *&)

void GetUserSelectedPhoneNumberL ( CPhCntContactId *& aContactId,
HBufC *& aPhoneNumber
) [pure virtual]

Gets user selected phone number and contact id.

Since
S60 v3.2

Parameters

CPhCntContactId *& aContactId Contact id of the contact, may be null
HBufC *& aPhoneNumber Phone number, may be null. KErrCancel - User canceled the fetch Other system wide error codes.

GetUserSelectedVoIPAddressL(CPhCntContactId *&, HBufC *&)

void GetUserSelectedVoIPAddressL ( CPhCntContactId *& aContactId,
HBufC *& aVoIPAddress
) [pure virtual]

Gets user selected voip address and contact id.

Since
S60 v5.0

Parameters

CPhCntContactId *& aContactId Contact id of the contact, may be null
HBufC *& aVoIPAddress voip address, may be null. KErrCancel - User canceled the fetch Other system wide error codes.

UpdateExistingContactL(const TDesC &)

void UpdateExistingContactL ( const TDesC & aPhoneNumber ) [pure virtual]

Adds phonenumber to existing contact.

Since
S60 v3.2

Parameters

const TDesC & aPhoneNumber Phone number to be added to existing contact.