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()

voidCancelRequest()[pure virtual]

Cancels outstanding request.

Since
S60 v3.2

CreateNewContactL(const TDesC &)

voidCreateNewContactL(const TDesC &aPhoneNumber)[pure virtual]

Create new contact to phonebook.

Since
S60 v3.2

Parameters

const TDesC & aPhoneNumberNumber of the new contact.

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

voidGetPhoneNumberL(const TDesC8 &aContactLink,
const CPhCntSingleItemFetch::TCallTypeaCallType,
HBufC *&aNumber,
HBufC8 *&aFieldLink
)[pure virtual]

Gets a phone number from the contact.

Parameters

const TDesC8 & aContactLinkContact link.
const CPhCntSingleItemFetch::TCallType aCallTypeNumber type.
HBufC *& aNumberUser selected phone number.
HBufC8 *& aFieldLinkContact 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 & aParamParameters passed to AIW.

GetUserSelectedDtmfNumberL(CPhCntContactId *&, HBufC *&)

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

Gets user selected dtmf number and contact id.

Since
S60 v3.2

Parameters

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

GetUserSelectedPhoneNumberL(CPhCntContactId *&, HBufC *&)

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

Gets user selected phone number and contact id.

Since
S60 v3.2

Parameters

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

GetUserSelectedVoIPAddressL(CPhCntContactId *&, HBufC *&)

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

Gets user selected voip address and contact id.

Since
S60 v5.0

Parameters

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

UpdateExistingContactL(const TDesC &)

voidUpdateExistingContactL(const TDesC &aPhoneNumber)[pure virtual]

Adds phonenumber to existing contact.

Since
S60 v3.2

Parameters

const TDesC & aPhoneNumberPhone number to be added to existing contact.