|
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 importing 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-4D4E5B3E-ABC4-43CA-A7E8-027C46BD1FE6"/><meta name="DC.Format" content="XHTML"/><meta name="DC.Identifier" content="GUID-387912B8-1FF4-40EE-ABC5-AB50DBF8A137"/><title>Criteria for |
|
5 importing 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-387912B8-1FF4-40EE-ABC5-AB50DBF8A137"><span>Criteria</span> for |
|
8 importing landmarks</h1><div> |
|
9 <p>The <code>criteria</code> object specifies the set of |
|
10 landmarks to import and optionally the target 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-DA1A9B46-3FC2-49AD-81DA-E88918D93E22"><!----></a><table cellpadding="4" cellspacing="0" summary="" id="GUID-DA1A9B46-3FC2-49AD-81DA-E88918D93E22" 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="d0e42607"> |
|
17 <p>Property</p> |
|
18 </th><th class="cellrowborder" valign="top" width="25%" id="d0e42612"> |
|
19 <p>Description</p> |
|
20 </th><th class="cellrowborder" valign="top" width="25%" id="d0e42617"> |
|
21 <p>Type</p> |
|
22 </th><th class="cellrowborder" valign="top" width="25%" id="d0e42622"> |
|
23 <p>Value</p> |
|
24 </th></tr> |
|
25 </thead> |
|
26 <tbody> |
|
27 <tr class=""> |
|
28 <td class="cellrowborder" valign="top" width="25%" headers="d0e42607 "> |
|
29 <p><code>criteria.Type</code></p> |
|
30 </td> |
|
31 <td class="cellrowborder" valign="top" width="25%" headers="d0e42612 "> |
|
32 <p>Specifies the type of landmark information to import. This is always <code>"Landmark"</code>.</p> |
|
33 </td> |
|
34 <td class="cellrowborder" valign="top" width="25%" headers="d0e42617 "> |
|
35 <p>string</p> |
|
36 </td> |
|
37 <td class="cellrowborder" valign="top" width="25%" headers="d0e42622 "> |
|
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="d0e42607 "> |
|
46 <p><code>criteria.Data</code></p> |
|
47 </td> |
|
48 <td class="cellrowborder" valign="top" width="25%" headers="d0e42612 "> |
|
49 <p>Specifies the landmarks to import.</p> |
|
50 </td> |
|
51 <td class="cellrowborder" valign="top" width="25%" headers="d0e42617 "> |
|
52 <p>object</p> |
|
53 </td> |
|
54 <td class="cellrowborder" valign="top" width="25%" headers="d0e42622 "> |
|
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="d0e42607 "> |
|
60 <p><code>[criterias.Data.DatabaseURI]</code></p> |
|
61 </td> |
|
62 <td class="cellrowborder" valign="top" width="25%" headers="d0e42612 "> |
|
63 <p>Specifies the URI of the landmark database into which the landmarks |
|
64 are imported.</p> |
|
65 <p>If this property is not specified, the landmarks are imported into the |
|
66 default database.</p> |
|
67 </td> |
|
68 <td class="cellrowborder" valign="top" width="25%" headers="d0e42617 "> |
|
69 <p>string</p> |
|
70 </td> |
|
71 <td class="cellrowborder" valign="top" width="25%" headers="d0e42622 "> |
|
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="d0e42607 "> |
|
77 <p><code>criteria.Data.SourceFile</code></p> |
|
78 </td> |
|
79 <td class="cellrowborder" valign="top" width="25%" headers="d0e42612 "> |
|
80 <p>Specifies the full path and file name of the source file from which |
|
81 the landmarks are imported.</p> |
|
82 </td> |
|
83 <td class="cellrowborder" valign="top" width="25%" headers="d0e42617 "> |
|
84 <p>string</p> |
|
85 </td> |
|
86 <td class="cellrowborder" valign="top" width="25%" headers="d0e42622 "> |
|
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="d0e42607 "> |
|
92 <p><code>criteria.Data.MimeType</code></p> |
|
93 </td> |
|
94 <td class="cellrowborder" valign="top" width="25%" headers="d0e42612 "> |
|
95 <p>Specifies the MIME type of the source file.</p> |
|
96 <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 |
|
97 on Forum Nokia.</p> |
|
98 </td> |
|
99 <td class="cellrowborder" valign="top" width="25%" headers="d0e42617 "> |
|
100 <p>string</p> |
|
101 </td> |
|
102 <td class="cellrowborder" valign="top" width="25%" headers="d0e42622 "> |
|
103 <p>For example: <code>"application/vnd.nokia.landmarkcollection+xml"</code></p> |
|
104 </td> |
|
105 </tr> |
|
106 </tbody> |
|
107 </table></div></div></div></div><div class="footer"><hr/><div class="copy">© Nokia 2009.</div></div></body></html> |