NavigationConstants

object NavigationConstants

Navigation constants

Functions

equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open fun hashCode(): Int
toString
Link copied to clipboard
open fun toString(): String

Properties

ALERT_VIEW_PROBLEM_DURATION
Link copied to clipboard
const val ALERT_VIEW_PROBLEM_DURATION: Long = 10000
Milliseconds duration in which the AlertView is shown with the "Report Problem" text.
const val DEFAULT_VANISHING_POINT_MIN_UPDATE_INTERVAL_NANO: Long = 62_500_000L
Minimum update interval (in nanoseconds) of the vanishing point when enabled.
FEEDBACK_BOTTOM_SHEET_DURATION
Link copied to clipboard
const val FEEDBACK_BOTTOM_SHEET_DURATION: Long = 10000
Milliseconds duration in which the feedback BottomSheet is shown.
NAVIGATION_HIGH_ALERT_DURATION
Link copied to clipboard
const val NAVIGATION_HIGH_ALERT_DURATION: Int = 15
15 seconds remaining is considered a high alert level when navigating along a com.mapbox.api.directions.v5.models.LegStep.
NAVIGATION_LOW_ALERT_DURATION
Link copied to clipboard
const val NAVIGATION_LOW_ALERT_DURATION: Int = 125
125 seconds remaining is considered a low alert level when navigating along a com.mapbox.api.directions.v5.models.LegStep.
const val NAVIGATION_MAX_CAMERA_ADJUSTMENT_ANIMATION_DURATION: Long = 1000L
Maximum milliseconds duration of the zoom/tilt adjustment animation while tracking.
NAVIGATION_MEDIUM_ALERT_DURATION
Link copied to clipboard
const val NAVIGATION_MEDIUM_ALERT_DURATION: Int = 70
70 seconds remaining is considered a medium alert level when navigating along a com.mapbox.api.directions.v5.models.LegStep.
const val NAVIGATION_MIN_CAMERA_TILT_ADJUSTMENT_ANIMATION_DURATION: Long = 750L
Minimum milliseconds duration of the tilt adjustment animation while tracking.
const val NAVIGATION_MIN_CAMERA_ZOOM_ADJUSTMENT_ANIMATION_DURATION: Long = 300L
Minimum milliseconds duration of the zoom adjustment animation while tracking.
NAVIGATION_VIEW_DARK_THEME
Link copied to clipboard
const val NAVIGATION_VIEW_DARK_THEME: String
Key for the set dark theme in preferences
NAVIGATION_VIEW_LIGHT_THEME
Link copied to clipboard
const val NAVIGATION_VIEW_LIGHT_THEME: String
Key for the set light theme in preferences
NAVIGATION_VIEW_PREFERENCE_SET_THEME
Link copied to clipboard
const val NAVIGATION_VIEW_PREFERENCE_SET_THEME: String
If a set of light / dark themes been set in android.content.SharedPreferences