LandmarkStoresCollection

Landmark store selection

Constructors

Link copied to clipboard
constructor(address: Long, isRef: Boolean)

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
val size: Int

Number of stores in the list.

Functions

Link copied to clipboard
external fun add(lms: LandmarkStore): Boolean

Add all the categories of the specified store.

Link copied to clipboard
external fun addAllStoreCategories(storeId: Int): Int

Add all the categories of the specified store.

Link copied to clipboard
external fun addStoreCategoryId(storeId: Int, categoryId: Int): Int

Add a new category ID into the specified store list.

Link copied to clipboard
external fun addStoreCategoryList(storeId: Int, list: ArrayList<LandmarkCategory>): Int

Add a list of categories into the specified store list.

Link copied to clipboard
external fun contains(storeId: Int): Boolean

Check if the specified store ID has any category in the list.

external fun contains(storeId: Int, categoryId: Int): Boolean

Check if the specified category ID from the specified store ID was already added.

Link copied to clipboard
external fun containsStore(value: LandmarkStore): Boolean

Check if the specified store has any category in the list.

Link copied to clipboard
fun finalize()

Overrides finalize that garbage collector will call when needed.

Link copied to clipboard
external fun getCategoryCount(storeId: Int): Int

Gets the number of categories enabled for the specified store.

Link copied to clipboard
external fun getStoreCategoryId(storeId: Int, indexCategory: Int): Int

Gets the specified category ID for the specified store. On success it returns 0. On error it returns < 0.

Link copied to clipboard
external fun getStoreIdAt(index: Int): Int

Gets the store ID for the specified index.

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
fun release()

Releases the native referenced value of this object if:

Link copied to clipboard
external fun remove(lms: LandmarkStore): Boolean

Remove all the categories of the specified store.

Link copied to clipboard
external fun removeAllStoreCategories(storeId: Int): Int

Remove all the categories of the specified store.

Link copied to clipboard
external fun removeStoreCategoryId(storeId: Int, categoryId: Int): Int

Removes category ID from the specified store list.