LandmarkStoreService

LandmarkStoreService object. This behaves like a singleton, i.e. all instances are sharing behind the same API interface

Constructors

Link copied to clipboard
constructor()
constructor(address: Long)

Properties

Link copied to clipboard

Address of native referenced object. nullptr if not referencing any native allocated object. Note native allocation will happen only once.

Link copied to clipboard

All existing landmark stores.

Link copied to clipboard

LandmarkStore id attached to map address database information.

Link copied to clipboard

Get LandmarkStore id attached to map cities database information.

Link copied to clipboard

Map POIs landmark store.

Functions

Link copied to clipboard
external fun addListener(listener: LandmarkStoreListener)

Add new listener for landmark store events.

Link copied to clipboard
external fun createLandmarkStore(name: String, zoom: Int = -1, folder: String = String()): Pair<LandmarkStore?, ErrorCode>?

Create a new landmark store. The landmark store type for all stores created with this function is ELandmarkStoreType.Default.

Link copied to clipboard
fun finalize()

Overrides finalize that garbage collector will call when needed.

Link copied to clipboard
external fun getLandmarkStoreById(landmarkStoreId: Int): LandmarkStore?

Get landmark store by ID.

Link copied to clipboard

Get landmark store by name.

Link copied to clipboard
external fun getLandmarkStoreType(landmarkStoreId: Int): Int

Get the type of the landmark store ( see ELandmarkStoreType )

Link copied to clipboard

True if keeps a reference to a C++ SDK object False if keeps a C++ SDK object

Link copied to clipboard
operator fun not(): Boolean

Checks if this object is valid.

Link copied to clipboard
external fun registerLandmarkStore(name: String, path: String): Int

Register an already existing landmark store.

Link copied to clipboard
fun release()

Releases the native referenced value of this object if:

Link copied to clipboard
external fun removeLandmarkStore(landmarkStoreId: Int): Int

Remove the landmark store specified by ID.

Link copied to clipboard
external fun removeListener(listener: LandmarkStoreListener)

Remove listener for landmark store events.