Home > @magiclane/maps-sdk > LandmarkBrowseSession
LandmarkBrowseSession class
Represents a session for browsing landmarks in a store.
This class should not be instantiated directly. Instead, use the LandmarkStore.createLandmarkBrowseSession method to obtain an instance.
Places
Signature:
export declare class LandmarkBrowseSession extends GemAutoreleaseObject Extends: GemAutoreleaseObject
Remarks
The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the LandmarkBrowseSession class.
Properties
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
|
number |
Get the session id | |
|
|
number |
Get the number of landmarks in the session | |
|
|
number |
Get the landmark store id | |
|
|
any | ||
|
|
Get the browse session settings Modifying the returned object will have no effect on the session |
Methods
|
Method |
Modifiers |
Description |
|---|---|---|
|
Get the position of the landmark with the specified Landmark.id The position is 0 based | ||
|
Get the landmarks in the session between the specified start and end index: [start, end) |