LandmarkStoreCollection class Places

Landmark store collection class

This class should not be instantiated directly. Instead, use the MapViewPreferences.lmks getter to obtain an instance.

Constructors

LandmarkStoreCollection.init(int id, int mapId)

Properties

hashCode int
The hash code for this object.
no setterinherited
mapId int
no setter
pointerId int
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size int
Get the number of stores in the list.
no setter

Methods

add(LandmarkStore lms) GemError
Add all categories from the specified store.
addAllStoreCategories(int storeId) GemError
Add all categories from the specified store ID.
addStoreCategoryId(int storeId, int categoryId) GemError
Add a new category ID into the specified store list.
addStoreCategoryList(int storeId, List<LandmarkCategory> categories) GemError
Add a list of categories into the specified store list.
clear() → void
Remove all stores and categories.
contains(int storeId, int categoryId) bool
Check if the specified category ID from the specified store ID was already added.
containsLandmarkStore(LandmarkStore lms) bool
Check if the specified store has any category in the list.
containsStoreId(int storeId) bool
Check if the specified store ID has any category in the list.
getCategoryCount(int storeId) int
Get the number of categories enabled for the specified store.
getStoreCategoryId(int storeId, int indexCategory) int
Get the specified category ID for the specified store.
getStoreIdAt(int index) int
Get the store ID for the specified index.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
registerAutoReleaseObject(int pointerId) → void
Registers an object for auto release.
inherited
remove(LandmarkStore lms) GemError
Remove all categories of the specified store.
removeAllStoreCategories(int storeId) GemError
Remove all categories of the specified store ID.
removeStoreCategoryId(int storeId, int categoryId) GemError
Remove category ID from the specified store list.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited