CTelMatchingExtension Class Reference

class CTelMatchingExtension : public CBase

Plugin interface class for manipulating telephony contact matching.

Since
S60 5.0

Inherits from

  • CTelMatchingExtension

Constructor & Destructor Documentation

~CTelMatchingExtension()

~CTelMatchingExtension()[inline, virtual]

Destructor

Member Functions Documentation

GetAddressForMatching(RBuf &, TInt &)

TInt GetAddressForMatching(RBuf &aParsedAddress,
TInt &aMeaningfulDigits
)[pure virtual]

Returns parsed address to be used in contact matching. Sets aParsedAddress parameter as empty (KNullDesC) if original number should be used in contact matching.

Parameters

RBuf & aParsedAddress- Address parsed by plugin. This address will be used for matching.
TInt & aMeaningfulDigits- How many digits (starting from the right) are meaningful for matching. Value of the parameter have to be between 4-20 otherwise the whole of address will be used for matching (e.g. by value 0). If length of the address is less than value of the parameter the whole of address will be used for matching.

GetContactStoreUris(CDesCArray &)

TInt GetContactStoreUris(CDesCArray &aStoreUris)[pure virtual]

Returns contact store uris which are opened and will be used for matching.

Parameters

CDesCArray & aStoreUris- Contact store uri array.

GetRemotePartyName(RBuf &)

TInt GetRemotePartyName(RBuf &aRemotePartyName)[pure virtual]

Returns remote party name (remote party name is shown in the call bubble). Sets aRemotePartyName parameter as empty (KNullDesC) if remote party name is not available. Remote party name (aRemotePartyName) will be shown in the call bubble when contact matching not succeed.

Parameters

RBuf & aRemotePartyName- Remote party name.

InitializeL(TUint, const TDesC &)

voidInitializeL(TUintaServiceId,
const TDesC &aOrigAddress
)[pure virtual]

Initialize CTelMatchingExtension after it is created with NewL.

Parameters

TUint aServiceId- This id identify what service is currently used in call.
const TDesC & aOrigAddress- Original address.

NewL(TUid)

CTelMatchingExtension *NewL(TUidaImplementationUid)[static, inline]
Creates new xSP plugin having the given UID.
leave
Uses Leave code KErrNotFound if implementation is not found.

Parameters

TUid aImplementationUidImplementation UID of the plugin to be created.

Member Data Documentation

TUid iDtor_ID_Key

TUid iDtor_ID_Key[private]

ECOM plugin instance UID.