org.symbian.tools.wrttools.doc.WebDeveloper/html/GUID-5A23A9AC-2BC4-4D05-82FF-980986CFF4F6.html
author Eugene Ostroukhov <eugeneo@symbian.org>
Fri, 11 Jun 2010 13:33:03 -0700
changeset 372 1e408ee32d8a
parent 229 716254ccbcc0
permissions -rw-r--r--
Added templates for WRT 1.1 platform services


<!DOCTYPE html
  PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<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="Landmark database"/><meta name="DC.Relation" scheme="URI" content="GUID-40EAD781-6B30-406E-B05F-0BE932EFE86A"/><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-85F12A75-C9B1-43E3-A052-6EE8745B211F"/><meta name="DC.Format" content="XHTML"/><meta name="DC.Identifier" content="GUID-5A23A9AC-2BC4-4D05-82FF-980986CFF4F6"/><title>Landmark
database </title><script type="text/javascript">
      function initPage() {}
    </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-5A23A9AC-2BC4-4D05-82FF-980986CFF4F6">Landmark
database</h1><div>
<p>The following table describes the properties of a landmark database
object.</p>
<div class="tablenoborder"><a name="GUID-CA3B64A2-F5CB-4423-BFA4-FEDB01645D6C"><!----></a><table cellpadding="4" cellspacing="0" summary="" id="GUID-CA3B64A2-F5CB-4423-BFA4-FEDB01645D6C" frame="border" border="1" rules="all"><caption><strong>Table: </strong>Landmark database
object properties</caption>

<thead align="left">
<tr class="title "><th class="cellrowborder" valign="top" width="25%" id="d0e45098">
<p>Property</p>
</th><th class="cellrowborder" valign="top" width="25%" id="d0e45103">
<p>Description</p>
</th><th class="cellrowborder" valign="top" width="25%" id="d0e45108">
<p>Type</p>
</th><th class="cellrowborder" valign="top" width="25%" id="d0e45113">
<p>Value</p>
</th></tr>
</thead>
<tbody>
<tr class="">
<td class="cellrowborder" valign="top" width="25%" headers="d0e45098 ">
<p><code>[DatabaseName]</code></p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="d0e45103 ">
<p>Specifies the name of the landmark database. The name need not be unique
within the database.</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="d0e45108 ">
<p>string</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="d0e45113 ">&nbsp;</td>
</tr>
<tr class="bg ">
<td class="cellrowborder" valign="top" width="25%" headers="d0e45098 ">
<p><code>DatabaseURI</code></p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="d0e45103 ">
<p>Specifies the unique URI of the landmark database.</p>
<p>The URI consists of a protocol specifier and the database location: <code>&lt;protocol&gt;://&lt;location&gt;</code>.
If no protocol is specified, <code>file://</code> is used by default.</p>
<p>For a local database, the protocol is always <code>file://</code> and
the location consists of the drive and the database file name. The path to
the file cannot be specified. The extension of the database file name must
be <code>ldb</code>.</p>
<div class="note"><p><strong class="note_title">Note: </strong>Remote databases are not currently supported.</p>
</div>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="d0e45108 ">
<p>string</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="d0e45113 ">
<p>For example: <code>file://c:landmarks.ldb</code></p>
</td>
</tr>
<tr class="">
<td class="cellrowborder" valign="top" width="25%" headers="d0e45098 ">
<p><code>[DbDrive]</code></p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="d0e45103 ">
<p>Specifies the drive on which the database is stored.</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="d0e45108 ">
<p>string</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="d0e45113 ">
<p>For example: <code>"C"</code></p>
</td>
</tr>
<tr class="bg ">
<td class="cellrowborder" valign="top" width="25%" headers="d0e45098 ">
<p><code>[DbProtocol]</code></p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="d0e45103 ">
<p>Specifies the protocol for accessing the database.</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="d0e45108 ">
<p>string</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="d0e45113 ">
<p>For example: <code>"file://"</code></p>
</td>
</tr>
<tr class="">
<td class="cellrowborder" valign="top" width="25%" headers="d0e45098 ">
<p><code>[DbMedia]</code></p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="d0e45103 ">
<p>Specifies the type of media on which the database is stored.</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="d0e45108 ">
<p>number</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="d0e45113 ">
<p>Possible values:</p>
<ul>
<li><p><code>0</code> - MediaNotPresent</p></li>
<li><p><code>1</code> - MediaUnknown</p></li>
<li><p><code>2</code> - MediaFloppyDisk</p></li>
<li><p><code>3</code> - MediaHardDisk</p></li>
<li><p><code>4</code> - MediaCdRom</p></li>
<li><p><code>5</code> - MediaRam</p></li>
<li><p><code>6</code> - MediaFlash</p></li>
<li><p><code>7</code> - MediaRom</p></li>
<li><p><code>8</code> - MediaRemote</p></li>
<li><p><code>9</code> - MediaNANDFlash</p></li>
<li><p><code>10</code> - MediaRotatingMedia</p></li>
</ul>
</td>
</tr>
<tr class="bg ">
<td class="cellrowborder" valign="top" width="25%" headers="d0e45098 ">
<p><code>[DbSize]</code></p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="d0e45103 ">
<p>Specifies the size of the database in bytes. This is a read-only property.</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="d0e45108 ">
<p>number</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="d0e45113 ">&nbsp;</td>
</tr>
<tr class="">
<td class="cellrowborder" valign="top" width="25%" headers="d0e45098 ">
<p><code>[DbActive]</code></p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="d0e45103 ">
<p>Specifies whether the database is the default landmark database of the
device.</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="d0e45108 ">
<p>boolean</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="d0e45113 ">
<p>Possible values:</p>
<ul>
<li><p><code>true</code> - Default database</p></li>
<li><p><code>true</code> - Not the default database</p>
</li>
</ul>
</td>
</tr>
</tbody>
</table></div></div></div></div><div class="footer"><hr/><div class="copy">© Nokia 2009.</div></div></body></html>