diff -r 913c9751c067 -r 716254ccbcc0 org.symbian.tools.wrttools.doc.WebDeveloper/html/GUID-686FDCE2-4487-4402-8347-875350D30163.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/org.symbian.tools.wrttools.doc.WebDeveloper/html/GUID-686FDCE2-4487-4402-8347-875350D30163.html Fri Mar 05 19:11:15 2010 -0800 @@ -0,0 +1,907 @@ + + +
The information about a contact is represented as keys. Each key corresponds
+to a specific piece of information, such as first name, last name, home phone
+number, or email address. Each contact has at least one key. The supported
+set of keys depends on the contacts database. If you try to add a key to a
+database that does not support it, the Add
method
+returns an error message.
The following table lists the combined set of keys supported by databases +compatible with S60 5th Edition:
+The default device database (URI: cntdb://c:contacts.cdb
)
+supports all the listed keys.
The SIM card database (URI: sim://global_adn
)
+supports a subset of the listed keys. The supported keys are indicated in
+the Supported by SIM column.
In JavaScript, keys are represented as objects, with the key name as
+the object name. For example, the ReturnValue
iterator
+returned by a GetList
call might contain the following
+keys (objects) for the first contact item:
ReturnValue[0].FirstName
ReturnValue[0].LastName
ReturnValue[0].LandPhoneHome
ReturnValue[0].EmailHome
Note: The SyncClass
key is added to a contact by default,
+with the Label
property set to "Synchronisation"
and
+the Value
property to "private"
,
+unless specified as "public"
. Values other than "private"
or "public"
are
+stored as "private"
.
+ Key + |
+ Description + |
+ Maximum length + |
+ Supported by SIM + |
---|---|---|---|
+
|
+
+ Last name + |
+
+ 50 (14 for SIM) + |
+
+ X + |
+
+
|
+
+ First name + |
+
+ 50 + |
++ |
+
|
+
+ Name prefix + |
+
+ 10 + |
++ |
+
|
+
+ Name suffix + |
+
+ 10 + |
++ |
+
|
+
+ Second name + |
+
+ 50 + |
++ |
+
|
+
+ Home land phone number + |
+
+ 48 + |
++ |
+
|
+
+ Home mobile phone number + |
+
+ 48 + |
++ |
+
|
+
+ Home video number + |
+
+ 48 + |
++ |
+
|
+
+ Home fax number + |
+
+ 48 + |
++ |
+
|
+
+ Home VoIP phone number + |
+
+ 100 + |
++ |
+
|
+
+ Home email address + |
+
+ 150 + |
++ |
+
|
+
+ Home URL + |
+
+ 1000 + |
++ |
+
|
+
+ Home address label + |
+
+ 250 + |
++ |
+
|
+
+ Home address post office + |
+
+ 20 + |
++ |
+
|
+
+ Home address extension + |
+
+ 50 + |
++ |
+
|
+
+ Home address street + |
+
+ 50 + |
++ |
+
|
+
+ Home address local + |
+
+ 50 + |
++ |
+
|
+
+ Home address region + |
+
+ 50 + |
++ |
+
|
+
+ Home address postal code + |
+
+ 20 + |
++ |
+
|
+
+ Home address country + |
+
+ 50 + |
++ |
+
|
+
+ Job title + |
+
+ 50 + |
++ |
+
|
+
+ Company name + |
+
+ 50 + |
++ |
+
|
+
+ Work land phone number + |
+
+ 48 + |
++ |
+
|
+
+ Work mobile phone number + |
+
+ 48 + |
++ |
+
|
+
+ Work video number + |
+
+ 48 + |
++ |
+
|
+
+ Work fax number + |
+
+ 48 + |
++ |
+
|
+
+ Work VoIP phone number + |
+
+ 100 + |
++ |
+
|
+
+ Work email address + |
+
+ 150 + |
++ |
+
|
+
+ Work URL + |
+
+ 1000 + |
++ |
+
|
+
+ Work address label + |
+
+ 250 + |
++ |
+
|
+
+ Work address post office + |
+
+ 20 + |
++ |
+
|
+
+ Work address extension + |
+
+ 50 + |
++ |
+
|
+
+ Work address street + |
+
+ 50 + |
++ |
+
|
+
+ Work address local + |
+
+ 50 + |
++ |
+
|
+
+ Work address region + |
+
+ 50 + |
++ |
+
|
+
+ Work address postal code + |
+
+ 20 + |
++ |
+
|
+
+ Work address country + |
+
+ 50 + |
++ |
+
|
+
+ General land phone number + |
+
+ 48 + |
++ |
+
|
+
+ General mobile phone number + |
+
+ 48 + |
+
+ X + |
+
+
|
+
+ General video number + |
+
+ 48 + |
++ |
+
|
+
+ General fax number + |
+
+ 48 + |
++ |
+
|
+
+ General VoIP phone number + |
+
+ 100 + |
++ |
+
|
+
+ Push to Talk over Cellular (PoC) + |
+
+ 100 + |
++ |
+
|
+
+ "See What I See" (SWIS) + |
+
+ 100 + |
++ |
+
|
+
+ SIP identity + |
+
+ 100 + |
++ |
+
|
+
+ General email address + |
+
+ 150 + |
++ |
+
|
+
+ General URL + |
+
+ 1000 + |
++ |
+
|
+
+ General address label + |
+
+ 250 + |
++ |
+
|
+
+ General address post office + |
+
+ 20 + |
++ |
+
|
+
+ General address extension + |
+
+ 50 + |
++ |
+
|
+
+ General address street + |
+
+ 50 + |
++ |
+
|
+
+ General address local + |
+
+ 50 + |
++ |
+
|
+
+ General address region + |
+
+ 50 + |
++ |
+
|
+
+ General address postal code + |
+
+ 20 + |
++ |
+
|
+
+ General address country + |
+
+ 50 + |
++ |
+
|
+
+ Pager number + |
+
+ 48 + |
++ |
+
|
+
+ DTMF string + |
+
+ 60 + |
++ |
+
|
+
+ Date + |
+
+ This key is in TTime format. + |
++ |
+
|
+
+ Note + |
+
+ 1000 + |
++ |
+
|
+
+ Ring tone + |
+
+ 256 + |
++ |
+
|
+
+ Middle name + |
+
+ 50 + |
++ |
+
|
+
+ Department name + |
+
+ 50 + |
++ |
+
|
+
+ Assistant name + |
+
+ 50 + |
++ |
+
|
+
+ Spouse name + |
+
+ 50 + |
++ |
+
|
+
+ Children + |
+
+ 50 + |
++ |
+
|
+
+ Assistant phone number + |
+
+ 50 + |
++ |
+
|
+
+ Car phone number + |
+
+ 48 + |
++ |
+
|
+
+ Anniversary + |
+
+ This key is in TTime format. + |
++ |
+
|
+
+ Synchronisation +Possible values: +
Any other value is interpreted as |
+
+ 1000 + |
++ |
+
|
+
+ Locality privacy + |
+
+ 256 + |
++ |