class CPhCntSingleItemFetch : public CBase |
It provides interface to make phone app single item fetches.
Public Member Functions | |
---|---|
TInt | FetchLD(TFetchParams &) |
TInt | FetchPhoneNumberLD(const TDesC8 &, const CPhCntSingleItemFetch::TCallType, HBufC *&, HBufC8 *&) |
CPhCntSelection * | SelectPhoneNumberLD() |
Public Member Enumerations | |
---|---|
enum | TCallType { ECallPhoneNumber, ECallVoip, ECallVideoNumber } |
enum | TFetchType { EFetchDtmf, EFetchNewCall, EFetchNewPSCall } |
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.
TFetchParams & aParams | it contains parameters. |
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.
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. |
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.
Phone number filtering for the FetchPhoneNumberLD implementation
ECallPhoneNumber - CS ECallVoip, - PS ECallVideoNumber, - Video
ECallPhoneNumber | |
ECallVoip | |
ECallVideoNumber |
It enumerates different types of fetches.
EFetchDtmf - fetch from dtmf EFetchNewCall - fetch from new call query EFetchNewPSCall - fetch from new PS call query
EFetchDtmf | |
EFetchNewCall | |
EFetchNewPSCall |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.