Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



Location: cntfield.h cntdef.h

Contacts model constants

Support

Supported from 5.0


NULL contact item ID


KNullContactId

const TContactItemId KNullContactId

Description

NULL contact item ID. Indicates that no contact item is present.

[Top]


Clipboard ID for vCards


KClipboardUidTypeVCard

const TUid KClipboardUidTypeVCard

Description

Used when pasting a vCard from the clipboard into the Contacts app.

[Top]


Contact item types

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.


KUidContactCard

const TUid KUidContactCard

Description

Identifies a contact card (CContactCard).


KUidContactGroup

const TUid KUidContactGroup

Description

Identifies a contact group (CContactGroup).


KUidContactTemplate

const TUid KUidContactTemplate

Description

Identifies the system template (CContactTemplate).


KUidContactOwnCard

const TUid KUidContactOwnCard

Support

Supported from 6.0

Description

Identifies an own card (CContactOwnCard).


KUidContactCardTemplate

const TUid KUidContactCardTemplate

Support

Supported from 6.0

Description

Identifies a non-system template (CContactCardTemplate).


KUidContactItem

const TUid KUidContactItem

Support

Supported from 6.0

Description

Identifies any CContactItem-derived class (all of the above).


KUidContactCardOrGroup

const TUid KUidContactCardOrGroup

Support

Supported from 6.0

Description

Used internally by the contacts model.

[Top]


Field types

Description

The following UIDs identify field types (see theTFieldTypetypedef).


KUidContactFieldAddress

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.


KUidContactFieldLocality

const TUid KUidContactFieldLocality

Support

Supported from 5.1

Description

Locality field.


KUidContactFieldRegion

const TUid KUidContactFieldRegion

Support

Supported from 5.1

Description

Region field.


KUidContactFieldPostcode

const TUid KUidContactFieldPostcode

Support

Supported from 5.1

Description

Post code field.


KUidContactFieldCountry

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.


KUidContactFieldHidden

const TUid KUidContactFieldHidden

Description

Hidden field.


KUidContactFieldEMail

const TUid KUidContactFieldEMail

Description

Email address field.


KUidContactFieldMsg

const TUid KUidContactFieldMsg

Description

Telephone number used for a messaging service.


KUidContactFieldSms

const TUid KUidContactFieldSms

Description

Telephone number used for SMS messages.


KUidContactFieldFax

const TUid KUidContactFieldFax

Description

Fax number field.


KUidContactFieldNote

const TUid KUidContactFieldNote

Description

Comment field.


KUidContactFieldBirthday

const TUid KUidContactFieldBirthday

Description

Birthday field.


KUidContactFieldUrl

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").


KUidContactFieldPicture

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.


KUidContactFieldDTMF

const TUid KUidContactFieldDTMF

Support

Supported from 6.0

Description

Used internally by the contacts model. Can be ignored by developers.


KUidContactFieldRingTone

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.


KUidContactFieldNone

const TUid KUidContactFieldNone

Description

Indicates no field present.


KUidContactFieldMatchAll

const TUid KUidContactFieldMatchAll

Description

Used in field type matching to indicate that all field types match.

[Top]


Speed dial field types

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.


KUidSpeedDialOne

const TUid KUidSpeedDialOne

Support

Supported from 6.0

Description

Field maps to the first speed dial position.


KUidSpeedDialTwo

const TUid KUidSpeedDialTwo

Support

Supported from 6.0

Description

Field maps to the second speed dial position.


KUidSpeedDialThree

const TUid KUidSpeedDialThree

Support

Supported from 6.0

Description

Field maps to the third speed dial position.


KUidSpeedDialFour

const TUid KUidSpeedDialFour

Support

Supported from 6.0

Description

Field maps to the fourth speed dial position.


KUidSpeedDialFive

const TUid KUidSpeedDialFive

Support

Supported from 6.0

Description

Field maps to the fifth speed dial position.


KUidSpeedDialSix

const TUid KUidSpeedDialSix

Support

Supported from 6.0

Description

Field maps to the sixth speed dial position.


KUidSpeedDialSeven

const TUid KUidSpeedDialSeven

Support

Supported from 6.0

Description

Field maps to the seventh speed dial position.


KUidSpeedDialEight

const TUid KUidSpeedDialEight

Support

Supported from 6.0

Description

Field maps to the eighth speed dial position.


KUidSpeedDialNine

const TUid KUidSpeedDialNine

Support

Supported from 6.0

Description

Field maps to the ninth speed dial position.

[Top]


vCard mapping

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.

[Top]


Property parameter names

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

KVersitParamWork

Description

Name of the WORK property parameter.


KVersitParamHome

KVersitParamHome

Description

Name of the HOME property parameter.


KVersitParamMsg

KVersitParamMsg

Description

Name of the MSG property parameter.


KVersitParamVoice

KVersitParamVoice

Description

Name of the VOICE property parameter.


KVersitParamFax

KVersitParamFax

Description

Name of the FAX property parameter.


KVersitParamPref

KVersitParamPref

Description

Name of the PREF property parameter.


KVersitParamCell

KVersitParamCell

Description

Name of the CELL property parameter.


KVersitParamPager

KVersitParamPager

Description

Name of the PAGER property parameter.


KVersitParamBbs

KVersitParamBbs

Description

Name of the BBS property parameter.


KVersitParamModem

KVersitParamModem

Description

Name of the MODEM property parameter.


KVersitParamCar

KVersitParamCar

Description

Name of the CAR property parameter.


KVersitParamIsdn

KVersitParamIsdn

Description

Name of the ISDN property parameter.


KVersitParamVideo

KVersitParamVideo

Description

Name of the VIDEO property parameter.


KVersitParamDom

KVersitParamDom

Description

Name of the DOM property parameter.


KVersitParamGif

KVersitParamGif

Support

Supported from 6.0

Description

Name of the GIF property parameter.


KVersitParamCgm

KVersitParamCgm

Support

Supported from 6.0

Description

Name of the CGM property parameter.


KVersitParamWmf

KVersitParamWmf

Support

Supported from 6.0

Description

Name of the WMF property parameter.


KVersitParamBmp

KVersitParamBmp

Support

Supported from 6.0

Description

Name of the BMP property parameter.


KVersitParamMet

KVersitParamMet

Support

Supported from 6.0

Description

Name of the MET property parameter.


KVersitParamPmb

KVersitParamPmb

Support

Supported from 6.0

Description

Name of the PMB property parameter.


KVersitParamDib

KVersitParamDib

Support

Supported from 6.0

Description

Name of the DIB property parameter.


KVersitParamPict

KVersitParamPict

Support

Supported from 6.0

Description

Name of the PICT property parameter.


KVersitParamTiff

KVersitParamTiff

Support

Supported from 6.0

Description

Name of the TIFF property parameter.


KVersitParamPdf

KVersitParamPdf

Support

Supported from 6.0

Description

Name of the PDF property parameter.


KVersitParamPs

KVersitParamPs

Support

Supported from 6.0

Description

Name of the PS property parameter.


KVersitParamJpeg

KVersitParamJpeg

Support

Supported from 6.0

Description

Name of the JPEG property parameter.


KVersitParamMpeg

KVersitParamMpeg

Support

Supported from 6.0

Description

Name of the MPEG property parameter.


KVersitParamMpeg2

KVersitParamMpeg2

Support

Supported from 6.0

Description

Name of the MPEG2 property parameter.


KVersitParamAvi

KVersitParamAvi

Support

Supported from 6.0

Description

Name of the AVI property parameter.


KVersitParamQtime

KVersitParamQtime

Support

Supported from 6.0

Description

Name of the QTIME property parameter.


KVersitParamX509

KVersitParamX509

Support

Supported from 6.0

Description

Name of the X509 property parameter.


KVersitParamPGP

KVersitParamPGP

Support

Supported from 6.0

Description

Name of the PGP property parameter.