Landmark database

The following table describes the properties of a landmark database object.

Table: Landmark database object properties

Property

Description

Type

Value

[DatabaseName]

Specifies the name of the landmark database. The name need not be unique within the database.

string

 

DatabaseURI

Specifies the unique URI of the landmark database.

The URI consists of a protocol specifier and the database location: <protocol>://<location>. If no protocol is specified, file:// is used by default.

For a local database, the protocol is always file:// 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 ldb.

Note: Remote databases are not currently supported.

string

For example: file://c:landmarks.ldb

[DbDrive]

Specifies the drive on which the database is stored.

string

For example: "C"

[DbProtocol]

Specifies the protocol for accessing the database.

string

For example: "file://"

[DbMedia]

Specifies the type of media on which the database is stored.

number

Possible values:

  • 0 - MediaNotPresent

  • 1 - MediaUnknown

  • 2 - MediaFloppyDisk

  • 3 - MediaHardDisk

  • 4 - MediaCdRom

  • 5 - MediaRam

  • 6 - MediaFlash

  • 7 - MediaRom

  • 8 - MediaRemote

  • 9 - MediaNANDFlash

  • 10 - MediaRotatingMedia

[DbSize]

Specifies the size of the database in bytes. This is a read-only property.

number

 

[DbActive]

Specifies whether the database is the default landmark database of the device.

boolean

Possible values:

  • true - Default database

  • true - Not the default database