public class NavigationConstants
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
ARRIVE_ALERT_LEVEL |
static double |
DEAD_RECKONING_TIME_INTERVAL
When calculating whether or not the user is on the route, we look where the user will be given their speed and
this variable.
|
static int |
DEPART_ALERT_LEVEL |
static int |
HIGH_ALERT_INTERVAL
Number of seconds left on step when a `high` alert is emitted.
|
static int |
HIGH_ALERT_LEVEL |
static int |
LOW_ALERT_LEVEL |
static int |
MANEUVER_ZONE_RADIUS
Radius in meters the user must enter to count as completing a step.
|
static int |
MAX_MANIPULATED_COURSE_ANGLE
Maximum angle the user puck will be rotated when snapping the user's course to the route line.
|
static int |
MAXIMUM_ALLOWED_DEGREE_OFFSET_FOR_TURN_COMPLETION
Threshold user must be in within to count as completing a step.
|
static double |
MAXIMUM_DISTANCE_BEFORE_OFF_ROUTE
Maximum number of meters the user can travel away from step before the
OffRouteListener's called. |
static int |
MEDIUM_ALERT_INTERVAL
Number of seconds left on step when a `medium` alert is emitted.
|
static int |
MEDIUM_ALERT_LEVEL |
static int |
MINIMUM_DISTANCE_FOR_HIGH_ALERT_CYCLING
Distance in meters for the minimum length of a step for giving a `high` alert.
|
static int |
MINIMUM_DISTANCE_FOR_HIGH_ALERT_DRIVING
Distance in meters for the minimum length of a step for giving a `high` alert.
|
static int |
MINIMUM_DISTANCE_FOR_HIGH_ALERT_WALKING
Distance in meters for the minimum length of a step for giving a `high` alert.
|
static int |
MINIMUM_DISTANCE_FOR_MEDIUM_ALERT_CYCLING
Distance in meters for the minimum length of a step for giving a `medium` alert while cycling.
|
static int |
MINIMUM_DISTANCE_FOR_MEDIUM_ALERT_DRIVING
Distance in meters for the minimum length of a step for giving a `medium` alert while driving.
|
static int |
MINIMUM_DISTANCE_FOR_MEDIUM_ALERT_WALKING
Distance in meters for the minimum length of a step for giving a `medium` alert while driving.
|
static int |
NONE_ALERT_LEVEL |
static int |
SECONDS_BEFORE_REROUTE
Seconds used before a reroute occurs.
|
static double |
USER_LOCATION_SNAPPING_DISTANCE
Accepted deviation excluding horizontal accuracy before the user is considered to be off route.
|
| Constructor and Description |
|---|
NavigationConstants() |
public static final int NONE_ALERT_LEVEL
public static final int DEPART_ALERT_LEVEL
public static final int LOW_ALERT_LEVEL
public static final int MEDIUM_ALERT_LEVEL
public static final int HIGH_ALERT_LEVEL
public static final int ARRIVE_ALERT_LEVEL
public static final int MAXIMUM_ALLOWED_DEGREE_OFFSET_FOR_TURN_COMPLETION
public static final int MANEUVER_ZONE_RADIUS
public static final int MEDIUM_ALERT_INTERVAL
public static final int HIGH_ALERT_INTERVAL
public static final int MINIMUM_DISTANCE_FOR_HIGH_ALERT_DRIVING
public static final int MINIMUM_DISTANCE_FOR_HIGH_ALERT_CYCLING
public static final int MINIMUM_DISTANCE_FOR_HIGH_ALERT_WALKING
public static final int MINIMUM_DISTANCE_FOR_MEDIUM_ALERT_DRIVING
public static final int MINIMUM_DISTANCE_FOR_MEDIUM_ALERT_CYCLING
public static final int MINIMUM_DISTANCE_FOR_MEDIUM_ALERT_WALKING
public static final double MAXIMUM_DISTANCE_BEFORE_OFF_ROUTE
OffRouteListener's called.public static final int SECONDS_BEFORE_REROUTE
public static final double USER_LOCATION_SNAPPING_DISTANCE
public static final double DEAD_RECKONING_TIME_INTERVAL
public static final int MAX_MANIPULATED_COURSE_ANGLE