class MVPbkBaseContactField |
Virtual Phonebook Base contact field interface. An abstract interface Virtual Phonebook read-only contact fields.
Public Member Functions | |
---|---|
~MVPbkBaseContactField () | |
TAny * | BaseContactFieldExtension ( TUid ) |
const MVPbkFieldType * | BestMatchingFieldType () |
const MVPbkContactFieldData & | FieldData () |
TBool | IsSame (const MVPbkBaseContactField &) |
const MVPbkFieldType * | MatchFieldType ( TInt ) |
MVPbkBaseContact & | ParentContact () |
TAny * | BaseContactFieldExtension | ( | TUid | ) | [inline, virtual] |
Returns an extension point for this interface or NULL.
TUid |
const MVPbkFieldType * | BestMatchingFieldType | ( | ) | const [pure virtual] |
Returns the best matching type of the field or NULL if no mapping exists between the native type and virtual phonebook type. This is the same as looping MatchFieldType from priority 0 and getting the first matched type.
const MVPbkContactFieldData & | FieldData | ( | ) | const [pure virtual] |
Returns this field's data storage (read-only). The actual data type can be get using the static Cast functions in actual classes.
MVPbkContactFieldTextData MVPbkContactFieldBinaryData MVPbkContactFieldDateTimeData
TBool | IsSame | ( | const MVPbkBaseContactField & | aOther | ) | const [pure virtual] |
Returns true if this field is the same as another field in the contact instance. Doesn't work for fields from different contact instances. Always use this method instead of direct pointer comparison.
const MVPbkBaseContactField & aOther | another field inside the contact |
const MVPbkFieldType * | MatchFieldType | ( | TInt | aMatchPriority | ) | const [pure virtual] |
Returns this field's type or NULL if no mapping exists between the native type and virtual phonebook type.
TInt aMatchPriority | matching priority to use. |
MVPbkBaseContact & | ParentContact | ( | ) | const [pure virtual] |
Returns the parent contact where this field is from.
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.