»
Symbian OS v6.1 Edition for C++ »
API Reference »
Contacts Model »
Contacts model constants
Location:
cntfield.h cntdef.h
Contacts model constants
Support
Supported from 5.0
NULL contact item ID
const TContactItemId KNullContactId
Description
NULL contact item ID. Indicates that no contact item is
present.
const TUid KClipboardUidTypeVCard
Description
Used when pasting a vCard from the clipboard into the Contacts
app.
Description
The CContactItem
class defines a pure virtual
Type()
function, implemented by the derived classes. The
implementations of this function return the appropriate UID, as indicated
below.
const TUid KUidContactCard
Description
Identifies a contact card
(CContactCard
).
const TUid KUidContactGroup
Description
Identifies a contact group
(CContactGroup
).
const TUid KUidContactTemplate
Description
Identifies the system template
(CContactTemplate
).
const TUid KUidContactOwnCard
Support
Supported from 6.0
Description
Identifies an own card
(CContactOwnCard
).
const TUid KUidContactCardTemplate
Support
Supported from 6.0
Description
Identifies a non-system template
(CContactCardTemplate
).
const TUid KUidContactItem
Support
Supported from 6.0
Description
Identifies any CContactItem
-derived class (all of the
above).
const TUid KUidContactCardOrGroup
Support
Supported from 6.0
Description
Used internally by the contacts model.
Description
The following UIDs identify field types (see
theTFieldType
typedef).
const TUid KUidContactFieldAddress
Description
Address field.
KUidContactFieldPostOffice
const TUid KUidContactFieldPostOffice
Support
Supported from 5.1
Description
Post office box field.
KUidContactFieldExtendedAddress
const TUid KUidContactFieldExtendedAddress
Support
Supported from 5.1
Description
Extended address field.
const TUid KUidContactFieldLocality
Support
Supported from 5.1
Description
Locality field.
const TUid KUidContactFieldRegion
Support
Supported from 5.1
Description
Region field.
const TUid KUidContactFieldPostcode
Support
Supported from 5.1
Description
Post code field.
const TUid KUidContactFieldCountry
Support
Supported from 5.1
Description
Country field.
KUidContactFieldCompanyName
const TUid KUidContactFieldCompanyName
Description
Company name field.
KUidContactFieldPhoneNumber
const TUid KUidContactFieldPhoneNumber
Description
Phone number field.
KUidContactFieldGivenName
const TUid KUidContactFieldGivenName
Description
Given name field.
KUidContactFieldFamilyName
const TUid KUidContactFieldFamilyName
Description
Family name field.
KUidContactFieldAdditionalName
const TUid KUidContactFieldAdditionalName
Description
Additional name field.
KUidContactFieldSuffixName
const TUid KUidContactFieldSuffixName
Description
Name suffix field.
KUidContactFieldPrefixName
const TUid KUidContactFieldPrefixName
Description
Name prefix field.
const TUid KUidContactFieldHidden
Description
Hidden field.
const TUid KUidContactFieldEMail
Description
Email address field.
const TUid KUidContactFieldMsg
Description
Telephone number used for a messaging service.
const TUid KUidContactFieldSms
Description
Telephone number used for SMS messages.
const TUid KUidContactFieldFax
Description
Fax number field.
const TUid KUidContactFieldNote
Description
Comment field.
const TUid KUidContactFieldBirthday
Description
Birthday field.
const TUid KUidContactFieldUrl
Description
URL field.
KUidContactFieldTemplateLabel
const TUid KUidContactFieldTemplateLabel
Support
Supported from 6.0
Description
Template label field (a label which is used to refer to a template, e.g.
"work template", "personal template").
const TUid KUidContactFieldPicture
Support
Supported from 6.0
Description
A picture field, e.g. a logo or a photo property would be mapped to this
field type.
const TUid KUidContactFieldDTMF
Support
Supported from 6.0
Description
Used internally by the contacts model. Can be ignored by
developers.
const TUid KUidContactFieldRingTone
Support
Supported from 6.0
Description
Used internally by the contacts model. Can be ignored by
developers.
KUidContactsVoiceDialField
const TUid KUidContactsVoiceDialField
Support
Supported from 6.0
Description
Used internally by the contacts model. Can be ignored by
developers.
const TUid KUidContactFieldNone
Description
Indicates no field present.
const TUid KUidContactFieldMatchAll
Description
Used in field type matching to indicate that all field types
match.
Description
These are field type UIDs (see the TFieldType
typedef) which
are added to a telephone number field's content type when the field is set to
map to a speed dial position. They indicate which of the nine possible speed
dial positions the field maps to.
const TUid KUidSpeedDialOne
Support
Supported from 6.0
Description
Field maps to the first speed dial position.
const TUid KUidSpeedDialTwo
Support
Supported from 6.0
Description
Field maps to the second speed dial position.
const TUid KUidSpeedDialThree
Support
Supported from 6.0
Description
Field maps to the third speed dial position.
const TUid KUidSpeedDialFour
Support
Supported from 6.0
Description
Field maps to the fourth speed dial position.
const TUid KUidSpeedDialFive
Support
Supported from 6.0
Description
Field maps to the fifth speed dial position.
const TUid KUidSpeedDialSix
Support
Supported from 6.0
Description
Field maps to the sixth speed dial position.
const TUid KUidSpeedDialSeven
Support
Supported from 6.0
Description
Field maps to the seventh speed dial position.
const TUid KUidSpeedDialEight
Support
Supported from 6.0
Description
Field maps to the eighth speed dial position.
const TUid KUidSpeedDialNine
Support
Supported from 6.0
Description
Field maps to the ninth speed dial position.
Description
The following UID constants represent the mapping between contact model
field types (documented above) and vCard properties or property parameters. For
the meaning of the vCard properties and property parameters mentioned below,
see the vCard specification, at http://www.imc.org/pdi/.
KUidContactFieldVCardMapPOSTOFFICE
const TUid KUidContactFieldVCardMapPOSTOFFICE
Support
Supported from 5.1
Description
Field type maps to the Post office box field in an ADR vCard property
value.
KUidContactFieldVCardMapEXTENDEDADR
const TUid KUidContactFieldVCardMapEXTENDEDADR
Support
Supported from 5.1
Description
Field type maps to the Extended address field in an ADR vCard property
value.
KUidContactFieldVCardMapADR
const TUid KUidContactFieldVCardMapADR
Description
Field type maps to vCard property ADR.
KUidContactFieldVCardMapLOCALITY
const TUid KUidContactFieldVCardMapLOCALITY
Support
Supported from 5.1
Description
Field type maps to the Locality field in an ADR vCard property
value.
KUidContactFieldVCardMapREGION
const TUid KUidContactFieldVCardMapREGION
Support
Supported from 5.1
Description
Field type maps to the Region field in an ADR vCard property
value.
KUidContactFieldVCardMapPOSTCODE
const TUid KUidContactFieldVCardMapPOSTCODE
Support
Supported from 5.1
Description
Field type maps to the Postcode field in an ADR vCard property
value.
KUidContactFieldVCardMapCOUNTRY
const TUid KUidContactFieldVCardMapCOUNTRY
Support
Supported from 5.1
Description
Field type maps to the Country field in an ADR vCard property
value.
KUidContactFieldVCardMapAGENT
const TUid KUidContactFieldVCardMapAGENT
Description
Field type maps to vCard property AGENT.
KUidContactFieldVCardMapBDAY
const TUid KUidContactFieldVCardMapBDAY
Description
Field type maps to vCard property BDAY.
KUidContactFieldVCardMapEMAILINTERNET
const TUid KUidContactFieldVCardMapEMAILINTERNET
Description
Field type maps to vCard property EMAIL.
KUidContactFieldVCardMapGEO
const TUid KUidContactFieldVCardMapGEO
Description
Field type maps to vCard property GEO.
KUidContactFieldVCardMapLABEL
const TUid KUidContactFieldVCardMapLABEL
Description
Field type maps to vCard property LABEL.
KUidContactFieldVCardMapLOGO
const TUid KUidContactFieldVCardMapLOGO
Description
Field type maps to vCard property LOGO.
KUidContactFieldVCardMapMAILER
const TUid KUidContactFieldVCardMapMAILER
Description
Field type maps to vCard property MAILER.
KUidContactFieldVCardMapNOTE
const TUid KUidContactFieldVCardMapNOTE
Description
Field type maps to vCard property NOTE.
KUidContactFieldVCardMapORG
const TUid KUidContactFieldVCardMapORG
Description
Field type maps to vCard property ORG.
KUidContactFieldVCardMapPHOTO
const TUid KUidContactFieldVCardMapPHOTO
Description
Field type maps to vCard property PHOTO.
KUidContactFieldVCardMapROLE
const TUid KUidContactFieldVCardMapROLE
Description
Field type maps to vCard property ROLE.
KUidContactFieldVCardMapSOUND
const TUid KUidContactFieldVCardMapSOUND
Description
Field type maps to vCard property SOUND.
KUidContactFieldVCardMapTEL
const TUid KUidContactFieldVCardMapTEL
Description
Field type maps to vCard property TEL.
KUidContactFieldVCardMapTELFAX
const TUid KUidContactFieldVCardMapTELFAX
Description
Field type maps to vCard property parameter FAX.
KUidContactFieldVCardMapTITLE
const TUid KUidContactFieldVCardMapTITLE
Description
Field type maps to vCard property TITLE.
KUidContactFieldVCardMapURL
const TUid KUidContactFieldVCardMapURL
Description
Field type maps to vCard property URL.
KUidContactFieldVCardMapUnusedN
const TUid KUidContactFieldVCardMapUnusedN
Description
Field maps to the vCard property N (name). Must be used in conjunction
with a name-related field type (e.g. KUidContactFieldGivenName
) to
form the given name field mapping.
KUidContactFieldVCardMapUnusedFN
const TUid KUidContactFieldVCardMapUnusedFN
Description
Field type maps to vCard property FN (the display
name).
KUidContactFieldVCardMapNotRequired
const TUid KUidContactFieldVCardMapNotRequired
Description
Mapping between the vCard property and field type is not
required.
KUidContactFieldVCardMapUnknownXDash
const TUid KUidContactFieldVCardMapUnknownXDash
Description
Unknown mapping between a field type and a vCard extension
property.
KUidContactFieldVCardMapUnknown
const TUid KUidContactFieldVCardMapUnknown
Description
Unknown mapping between field type and non-extension vCard
property.
KUidContactFieldVCardMapUID
const TUid KUidContactFieldVCardMapUID
Description
Field type maps to vCard property UID.
KUidContactFieldVCardMapWORK
const TUid KUidContactFieldVCardMapWORK
Description
Field type maps to vCard property parameter WORK.
KUidContactFieldVCardMapHOME
const TUid KUidContactFieldVCardMapHOME
Description
Field type maps to vCard property parameter HOME.
KUidContactFieldVCardMapMSG
const TUid KUidContactFieldVCardMapMSG
Description
Field type maps to vCard property parameter MSG.
KUidContactFieldVCardMapVOICE
const TUid KUidContactFieldVCardMapVOICE
Description
Field type maps to vCard property parameter VOICE.
KUidContactFieldVCardMapFAX
const TUid KUidContactFieldVCardMapFAX
Description
Field type maps to vCard property parameter FAX.
KUidContactFieldVCardMapPREF
const TUid KUidContactFieldVCardMapPREF
Description
Field type maps to vCard property parameter PREF.
KUidContactFieldVCardMapCELL
const TUid KUidContactFieldVCardMapCELL
Description
Field type maps to vCard property parameter CELL.
KUidContactFieldVCardMapPAGER
const TUid KUidContactFieldVCardMapPAGER
Description
Field type maps to vCard property parameter PAGER.
KUidContactFieldVCardMapBBS
const TUid KUidContactFieldVCardMapBBS
Description
Field type maps to vCard property parameter BBS.
KUidContactFieldVCardMapMODEM
const TUid KUidContactFieldVCardMapMODEM
Description
Field type maps to vCard property parameter MODEM.
KUidContactFieldVCardMapCAR
const TUid KUidContactFieldVCardMapCAR
Description
Field type maps to vCard property parameter CAR.
KUidContactFieldVCardMapISDN
const TUid KUidContactFieldVCardMapISDN
Description
Field type maps to vCard property parameter ISDN.
KUidContactFieldVCardMapVIDEO
const TUid KUidContactFieldVCardMapVIDEO
Description
Field type maps to vCard property parameter VIDEO.
KUidContacytFieldVCardMapDOM
const TUid KUidContacytFieldVCardMapDOM
Description
Field type maps to vCard property parameter DOM.
KUidContactFieldVCardMapINTL
const TUid KUidContactFieldVCardMapINTL
Support
Supported from 6.0
Description
Field type maps to vCard property parameter INTL.
KUidContactFieldVCardMapPOSTAL
const TUid KUidContactFieldVCardMapPOSTAL
Support
Supported from 6.0
Description
Field type maps to vCard property parameter POSTAL.
KUidContactFieldVCardMapPARCEL
const TUid KUidContactFieldVCardMapPARCEL
Support
Supported from 6.0
Description
Field type maps to vCard property parameter PARCEL.
KUidContactFieldVCardMapGIF
const TUid KUidContactFieldVCardMapGIF
Support
Supported from 6.0
Description
Field type maps to vCard property parameter value
GIF.
KUidContactFieldVCardMapCGM
const TUid KUidContactFieldVCardMapCGM
Support
Supported from 6.0
Description
Field type maps to vCard property parameter value
CGM.
KUidContactFieldVCardMapWMF
const TUid KUidContactFieldVCardMapWMF
Support
Supported from 6.0
Description
Field type maps to vCard property parameter value
WMF.
KUidContactFieldVCardMapBMP
const TUid KUidContactFieldVCardMapBMP
Support
Supported from 6.0
Description
Field type maps to vCard property parameter value
BMP.
KUidContactFieldVCardMapMET
const TUid KUidContactFieldVCardMapMET
Support
Supported from 6.0
Description
Field type maps to vCard property parameter value
MET.
KUidContactFieldVCardMapPMB
const TUid KUidContactFieldVCardMapPMB
Support
Supported from 6.0
Description
Field type maps to vCard property parameter value
PMB.
KUidContactFieldVCardMapDIB
const TUid KUidContactFieldVCardMapDIB
Support
Supported from 6.0
Description
Field type maps to vCard property parameter value
DIB.
KUidContactFieldVCardMapPICT
const TUid KUidContactFieldVCardMapPICT
Support
Supported from 6.0
Description
Field type maps to vCard property parameter value
PICT.
KUidContactFieldVCardMapTIFF
const TUid KUidContactFieldVCardMapTIFF
Support
Supported from 6.0
Description
Field type maps to vCard property parameter value
TIFF.
KUidContactFieldVCardMapPDF
const TUid KUidContactFieldVCardMapPDF
Support
Supported from 6.0
Description
Field type maps to vCard property parameter value
PDF.
KUidContactFieldVCardMapPS
const TUid KUidContactFieldVCardMapPS
Support
Supported from 6.0
Description
Field type maps to vCard property parameter value
PS.
KUidContactFieldVCardMapJPEG
const TUid KUidContactFieldVCardMapJPEG
Support
Supported from 6.0
Description
Field type maps to vCard property parameter value
JPEG.
KUidContactFieldVCardMapMPEG
const TUid KUidContactFieldVCardMapMPEG
Support
Supported from 6.0
Description
Field type maps to vCard property parameter value
MPEG.
KUidContactFieldVCardMapMPEG2
const TUid KUidContactFieldVCardMapMPEG2
Support
Supported from 6.0
Description
Field type maps to vCard property parameter value
MPEG2.
KUidContactFieldVCardMapAVI
const TUid KUidContactFieldVCardMapAVI
Support
Supported from 6.0
Description
Field type maps to vCard property parameter value
AVI.
KUidContactFieldVCardMapQTIME
const TUid KUidContactFieldVCardMapQTIME
Support
Supported from 6.0
Description
Field type maps to vCard property parameter value
QTIME.
KUidContactFieldVCardMapTZ
const TUid KUidContactFieldVCardMapTZ
Support
Supported from 6.0
Description
Field type maps to vCard property TZ.
KUidContactFieldVCardMapKEY
const TUid KUidContactFieldVCardMapKEY
Support
Supported from 6.0
Description
Field type maps to vCard property KEY.
KUidContactFieldVCardMapX509
const TUid KUidContactFieldVCardMapX509
Support
Supported from 6.0
Description
Field type maps to vCard property parameter value
X509.
KUidContactFieldVCardMapPGP
const TUid KUidContactFieldVCardMapPGP
Support
Supported from 6.0
Description
Field type maps to vCard property parameter value
PGP.
KUidContactFieldVCardMapSMIME
const TUid KUidContactFieldVCardMapSMIME
Support
Supported from 6.0
Description
Used internally by the contacts model. Can be ignored by
developers.
Description
The following table lists the constant literal descriptors which
represent the names of property parameters. They can be passed to CParserParam::NewL()
,
or to CParserProperty::Param()
(classes defined in the Versit API).
KVersitParamWork
Description
Name of the WORK property parameter.
KVersitParamHome
Description
Name of the HOME property parameter.
KVersitParamMsg
Description
Name of the MSG property parameter.
KVersitParamVoice
Description
Name of the VOICE property parameter.
KVersitParamFax
Description
Name of the FAX property parameter.
KVersitParamPref
Description
Name of the PREF property parameter.
KVersitParamCell
Description
Name of the CELL property parameter.
KVersitParamPager
Description
Name of the PAGER property parameter.
KVersitParamBbs
Description
Name of the BBS property parameter.
KVersitParamModem
Description
Name of the MODEM property parameter.
KVersitParamCar
Description
Name of the CAR property parameter.
KVersitParamIsdn
Description
Name of the ISDN property parameter.
KVersitParamVideo
Description
Name of the VIDEO property parameter.
KVersitParamDom
Description
Name of the DOM property parameter.
KVersitParamGif
Support
Supported from 6.0
Description
Name of the GIF property parameter.
KVersitParamCgm
Support
Supported from 6.0
Description
Name of the CGM property parameter.
KVersitParamWmf
Support
Supported from 6.0
Description
Name of the WMF property parameter.
KVersitParamBmp
Support
Supported from 6.0
Description
Name of the BMP property parameter.
KVersitParamMet
Support
Supported from 6.0
Description
Name of the MET property parameter.
KVersitParamPmb
Support
Supported from 6.0
Description
Name of the PMB property parameter.
KVersitParamDib
Support
Supported from 6.0
Description
Name of the DIB property parameter.
KVersitParamPict
Support
Supported from 6.0
Description
Name of the PICT property parameter.
KVersitParamTiff
Support
Supported from 6.0
Description
Name of the TIFF property parameter.
KVersitParamPdf
Support
Supported from 6.0
Description
Name of the PDF property parameter.
KVersitParamPs
Support
Supported from 6.0
Description
Name of the PS property parameter.
KVersitParamJpeg
Support
Supported from 6.0
Description
Name of the JPEG property parameter.
KVersitParamMpeg
Support
Supported from 6.0
Description
Name of the MPEG property parameter.
KVersitParamMpeg2
Support
Supported from 6.0
Description
Name of the MPEG2 property parameter.
KVersitParamAvi
Support
Supported from 6.0
Description
Name of the AVI property parameter.
KVersitParamQtime
Support
Supported from 6.0
Description
Name of the QTIME property parameter.
KVersitParamX509
Support
Supported from 6.0
Description
Name of the X509 property parameter.
KVersitParamPGP
Support
Supported from 6.0
Description
Name of the PGP property parameter.