CPhCntSingleItemFetch Class Reference

class CPhCntSingleItemFetch : public CBase

It provides interface to make phone app single item fetches.

PhoneCntFinder
Since
1.0

Inherits from

  • CPhCntSingleItemFetch

Nested Classes and Structures

Member Functions Documentation

FetchLD(TFetchParams &)

TInt FetchLD(TFetchParams &aParams)[pure virtual]

Perform fetch.

Destroyes itself always after fetch. In successful case, target descriptor will contain result. Otherwise it must be considered undefined.

You can also cancel request by destroying the instance.

If method returns error, then contents of aResult are undefined.

Parameters

TFetchParams & aParamsit contains parameters.

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

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

Performs a fetch.

A contact link is used for fetching and as a search result a phone number is returned.

Destroyes itself always after fetch. In successful case, target descriptor will contain result. Otherwise it must be considered undefined.

You can also cancel request by destroying the instance.

If method returns error, then contents of aResult are undefined.

Parameters

const TDesC8 & aContactLinkContact link.
const CPhCntSingleItemFetch::TCallType aCallTypeNumber type.
HBufC *& aNumberFound phone number. Needs to be NULL before the call.
HBufC8 *& aFieldLinkField link to user selected number. Needs to be NULL, before the call.

SelectPhoneNumberLD()

CPhCntSelection *SelectPhoneNumberLD()[pure virtual]

Shows dialog for user to select a phone number for other purposes than making a call. The left softkey is 'Select'.

Request can be canceled by deleting instance of this class.

leave
System wide error code
Since
S60 3.2

Member Enumerations Documentation

Enum TCallType

Phone number filtering for the FetchPhoneNumberLD implementation

ECallPhoneNumber - CS ECallVoip, - PS ECallVideoNumber, - Video

Enumerators

ECallPhoneNumber
ECallVoip
ECallVideoNumber

Enum TFetchType

It enumerates different types of fetches.

EFetchDtmf - fetch from dtmf EFetchNewCall - fetch from new call query EFetchNewPSCall - fetch from new PS call query

Enumerators

EFetchDtmf
EFetchNewCall
EFetchNewPSCall