CPbkCodField Class Reference
class CPbkCodField : public CBase
|
Provides information about phonebook's Object for call fields. These fields have been defined in PbkFields.hrh file and field value is either EPbkFieldIdCodTextID or EPbkFieldIdCodImageID. The first field value is used if contact contains text object for call and the latter is used when contact contains image object for call. This API can be used for field value fetching and contains also getter for text. If image value needs to be fetched then CPbkImageManager.h (PbkView.dll) should be used instead. PbkEng.lib
-
Since
-
Series 60 3.0
Constructor & Destructor Documentation
CPbkCodField(CPbkContactEngine &)
Member Functions Documentation
CodFieldId(CPbkContactItem &)
The object for call phonebook field id value of contact. The object for call field id value is either EPbkFieldIdCodTextID or EPbkFieldIdCodImageID if field is found. KErrNotFound returned if field object for call is not found.
CodFieldIdL(TContactItemId)
The object for call phonebook field id value of contact. The object for call field id value is either EPbkFieldIdCodTextID or EPbkFieldIdCodImageID if field is found. KErrNotFound returned if field object for call is not found.
GetTextL(TContactItemId)
Returns the string of text for call field. If field id is EPbkFieldIdCodTextID then text for call string is returned. The filename of image is returned if object for call field id value is EPbkFieldIdCodImageID. Leaves with KErrNotFound if the contact item id is not found.
-
Exceptions
-
KErrNotSupported
|
if the field content cannot be represented as text.
|
NewL(CPbkContactEngine &)
Member Data Documentation
CPbkContactEngine & iPbkContactEngine
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.