LandmarkBrowseSession class Landmark Store
A paged, snapshot-based session for browsing landmarks in a LandmarkStore.
LandmarkBrowseSession provides efficient, paginated access to landmarks contained in a store at the time the session was created. Construct sessions via LandmarkStore.createLandmarkBrowseSession and use the session to fetch ranges of landmarks, query positions and read session settings.
Only landmarks present in the store before session creation are visible within the session; later additions are not included.
See also:
- LandmarkStore.createLandmarkBrowseSession — create a browse session for a store.
- LandmarkBrowseSessionSettings — configure sorting and filtering for a session.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → int
-
Returns the unique id of this browse session.
no setter
- landmarkCount → int
-
Returns the total number of landmarks captured by this session.
no setter
- landmarkStoreId → int
-
Returns the id of the associated LandmarkStore.
no setter
- pointerId → int
-
The pointer ID of the native object
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- settings → LandmarkBrowseSessionSettings
-
Returns the settings used to create this session.
no setter
Methods
-
dispose(
) → void -
Disposes the native object.
inherited
-
getLandmarkPosition(
int landmarkId) → int -
Returns the zero-based index of the landmark with id
landmarkIdwithin this session. -
getLandmarks(
int start, int end) → List< Landmark> -
Retrieves landmarks for the half-open index range
[start, end)in this session. -
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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited