DestinationStatus enum
The list of route tracking destination statuses.
Used to determine how close the current location is to the next destination.
Values
- notReached → const DestinationStatus
-
Not reached destination status.
Default value.
- approaching → const DestinationStatus
-
Approaching destination status.
Value returned when provided GPS location gets within 500 meters of the next destination. This status can be used to manually call RouteTracker.switchToNextDestination if a vehicle can not get closer to a destination to trigger a status of DestinationStatus.reached.
- reached → const DestinationStatus
-
Reached destination status.
Value returned when provided GPS location gets within 7-40 meters, along the route, of the next destination. Once within 40 meters of the next destination the vehicle is tracked to determine if it is getting closer or moving away from the next destination. If the vehicle continues to get closer this value will be returned when within 7 meter of the next destination, if the vehicle starts to move away this value is returned. This status can be used to automatically call RouteTracker.switchToNextDestination.
Properties
- coreValue → RT_DestinationStatus
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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
Constants
-
values
→ const List<
DestinationStatus> - A constant List of the values in this enum, in order of their declaration.