CPhCntSingleItemFetch Class Reference

class CPhCntSingleItemFetch : public CBase

It provides interface to make phone app single item fetches.

PhoneCntFinder
Since
1.0

Inherits from

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 & aParams it contains parameters.

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

TInt FetchPhoneNumberLD ( const TDesC8 & aContactLink,
const CPhCntSingleItemFetch::TCallType aCallType,
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 & aContactLink Contact link.
const CPhCntSingleItemFetch::TCallType aCallType Number type.
HBufC *& aNumber Found phone number. Needs to be NULL before the call.
HBufC8 *& aFieldLink Field 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