AlarmsList<T> class abstract Routes & Navigation

List of alarms referenced to geographic coordinates.

Represents a generic collection of alarm items (for example overlay item or landmark alarms) that are referenced to a geographic coordinate. Implementations provide access to the list contents, the reference coordinates used for distance calculations and utility methods such as retrieving the distance to a specific item.

Implementations include OverlayItemAlarmsList and LandmarkAlarmsList.

See also:

Implementers

Constructors

AlarmsList.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
items List<T>
Items contained in the alarms list.
no setter
referenceCoordinates Coordinates
Reference coordinates used for distance calculations.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size int
Number of items in the alarms list.
no setter

Methods

getDistance(int index) int
Distance in meters from the referenceCoordinates to the specified item.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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