|
1 |
|
2 <!DOCTYPE html |
|
3 PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
|
4 <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/><meta name="copyright" content="(C) Copyright 2009"/><meta name="DC.rights.owner" content="(C) Copyright 2009"/><meta name="DC.Type" content="mobileconcept"/><meta name="DC.Title" content="Criteria for exporting landmarks"/><meta name="DC.Relation" scheme="URI" content="GUID-7C69DDA4-16F1-4A8F-BDB2-4CB0015B4E81"/><meta name="DC.Relation" scheme="URI" content="GUID-65AAF569-D347-462B-B59A-9D7CA184AB9C"/><meta name="DC.Relation" scheme="URI" content="GUID-B8845FF1-D7F6-476A-8651-8B9C12D8789F"/><meta name="DC.Relation" scheme="URI" content="GUID-A9024277-4FA2-429D-9C54-A155ED658B32"/><meta name="DC.Format" content="XHTML"/><meta name="DC.Identifier" content="GUID-DD6F754D-6438-4B4E-8775-7BC1A9C45330"/><title>Criteria for |
|
5 exporting landmarks </title><script type="text/javascript"> |
|
6 function initPage() {} |
|
7 </script><link href="../PRODUCT_PLUGIN/book.css" rel="stylesheet" type="text/css"/><link href="css/s60/style.css" rel="stylesheet" type="text/css" media="all"/></head><body onload="initPage();"><div class="body"><div class="contentLeft prTxt"><h1 class="pageHeading" id="GUID-DD6F754D-6438-4B4E-8775-7BC1A9C45330"><span>Criteria</span> for |
|
8 exporting landmarks</h1><div> |
|
9 <p>The <code>criteria</code> object specifies the set of |
|
10 landmarks to export and optionally the source database.</p> |
|
11 <p>The <code>criteria</code> object has two main properties: <code>Type</code> and <code>Data</code>. |
|
12 These are described in the following table.</p> |
|
13 <div class="tablenoborder"><a name="GUID-F66F9BED-D568-45A8-B95D-9BD408A07712"><!----></a><table cellpadding="4" cellspacing="0" summary="" id="GUID-F66F9BED-D568-45A8-B95D-9BD408A07712" frame="border" border="1" rules="all"><caption><strong>Table: </strong><span>Criteria</span> object properties</caption> |
|
14 |
|
15 <thead align="left"> |
|
16 <tr class="title "><th class="cellrowborder" valign="top" width="25%" id="d0e43061"> |
|
17 <p>Property</p> |
|
18 </th><th class="cellrowborder" valign="top" width="25%" id="d0e43066"> |
|
19 <p>Description</p> |
|
20 </th><th class="cellrowborder" valign="top" width="25%" id="d0e43071"> |
|
21 <p>Type</p> |
|
22 </th><th class="cellrowborder" valign="top" width="25%" id="d0e43076"> |
|
23 <p>Value</p> |
|
24 </th></tr> |
|
25 </thead> |
|
26 <tbody> |
|
27 <tr class=""> |
|
28 <td class="cellrowborder" valign="top" width="25%" headers="d0e43061 "> |
|
29 <p><code>criteria.Type</code></p> |
|
30 </td> |
|
31 <td class="cellrowborder" valign="top" width="25%" headers="d0e43066 "> |
|
32 <p>Specifies the type of landmark information to export. This is always <code>"Landmark"</code>.</p> |
|
33 </td> |
|
34 <td class="cellrowborder" valign="top" width="25%" headers="d0e43071 "> |
|
35 <p>string</p> |
|
36 </td> |
|
37 <td class="cellrowborder" valign="top" width="25%" headers="d0e43076 "> |
|
38 <p>Possible values:</p> |
|
39 <ul> |
|
40 <li><p><code>"Landmark"</code></p></li> |
|
41 </ul> |
|
42 </td> |
|
43 </tr> |
|
44 <tr class="bg "> |
|
45 <td class="cellrowborder" valign="top" width="25%" headers="d0e43061 "> |
|
46 <p><code>criteria.Data</code></p> |
|
47 </td> |
|
48 <td class="cellrowborder" valign="top" width="25%" headers="d0e43066 "> |
|
49 <p>Specifies the landmarks to export.</p> |
|
50 </td> |
|
51 <td class="cellrowborder" valign="top" width="25%" headers="d0e43071 "> |
|
52 <p>object</p> |
|
53 </td> |
|
54 <td class="cellrowborder" valign="top" width="25%" headers="d0e43076 "> |
|
55 <p>Object with the properties specified below</p> |
|
56 </td> |
|
57 </tr> |
|
58 <tr class=""> |
|
59 <td class="cellrowborder" valign="top" width="25%" headers="d0e43061 "> |
|
60 <p><code>[criteria.Data.DatabaseURI]</code></p> |
|
61 </td> |
|
62 <td class="cellrowborder" valign="top" width="25%" headers="d0e43066 "> |
|
63 <p>Specifies the URI of the landmark database from which the landmarks |
|
64 are exported.</p> |
|
65 <p>If this property is not specified, the landmarks are exported from the |
|
66 default database.</p> |
|
67 </td> |
|
68 <td class="cellrowborder" valign="top" width="25%" headers="d0e43071 "> |
|
69 <p>string</p> |
|
70 </td> |
|
71 <td class="cellrowborder" valign="top" width="25%" headers="d0e43076 "> |
|
72 <p>For example: <code>file://c:landmarks.ldb</code></p> |
|
73 </td> |
|
74 </tr> |
|
75 <tr class="bg "> |
|
76 <td class="cellrowborder" valign="top" width="25%" headers="d0e43061 "> |
|
77 <p><code>criteria.Data.DestinationFile</code></p> |
|
78 </td> |
|
79 <td class="cellrowborder" valign="top" width="25%" headers="d0e43066 "> |
|
80 <p>Specifies the full path and file name of the target file into which |
|
81 the landmarks are exported.</p> |
|
82 </td> |
|
83 <td class="cellrowborder" valign="top" width="25%" headers="d0e43071 "> |
|
84 <p>string</p> |
|
85 </td> |
|
86 <td class="cellrowborder" valign="top" width="25%" headers="d0e43076 "> |
|
87 <p>For example: <code>c:\\mylandmarks.lmx</code></p> |
|
88 </td> |
|
89 </tr> |
|
90 <tr class=""> |
|
91 <td class="cellrowborder" valign="top" width="25%" headers="d0e43061 "> |
|
92 <p><code>criteria.Data.IdList</code></p> |
|
93 </td> |
|
94 <td class="cellrowborder" valign="top" width="25%" headers="d0e43066 "> |
|
95 <p>Specifies the IDs of the landmarks to export.</p> |
|
96 <p>Use the <a href="GUID-55591BBC-49F8-407D-98F5-1D2FCD5DFB34.html#GUID-55591BBC-49F8-407D-98F5-1D2FCD5DFB34"><code>GetList</code></a> method |
|
97 to retrieve these IDs.</p> |
|
98 </td> |
|
99 <td class="cellrowborder" valign="top" width="25%" headers="d0e43071 "> |
|
100 <p>array of strings</p> |
|
101 </td> |
|
102 <td class="cellrowborder" valign="top" width="25%" headers="d0e43076 "> </td> |
|
103 </tr> |
|
104 <tr class="bg "> |
|
105 <td class="cellrowborder" valign="top" width="25%" headers="d0e43061 "> |
|
106 <p><code>criteria.Data.MimeType</code></p> |
|
107 </td> |
|
108 <td class="cellrowborder" valign="top" width="25%" headers="d0e43066 "> |
|
109 <p>Specifies the MIME type of the target file.</p> |
|
110 <p>The supported MIME types are described in the document <a href="http://www.forum.nokia.com/info/sw.nokia.com/id/9001c8de-c19e-41a0-87d3-5be4297e4d4c/S60_Platform_Landmarks_Exchange_Specification_v1_0_en.pdf.html" target="_blank">S60 Platform: Landmarks Exchange Format Specification</a> available |
|
111 on Forum Nokia.</p> |
|
112 </td> |
|
113 <td class="cellrowborder" valign="top" width="25%" headers="d0e43071 "> |
|
114 <p>string</p> |
|
115 </td> |
|
116 <td class="cellrowborder" valign="top" width="25%" headers="d0e43076 "> |
|
117 <p>For example: <code>"application/vnd.nokia.landmarkcollection+xml"</code></p> |
|
118 </td> |
|
119 </tr> |
|
120 </tbody> |
|
121 </table></div></div></div></div><div class="footer"><hr/><div class="copy">© Nokia 2009.</div></div></body></html> |