Navigating
data class Navigating(val isRecomputingRoute: Boolean, val isDestinationReached: Boolean, val isAutoRecomputeEnabled: Boolean, val isComputeTrafficEnabled: Boolean, val isForegroundServiceEnabled: Boolean, val ongoingEvent: NavigationEvent.Ongoing?, val newEventsData: List<NavigationEvent.EventResult>, init: Boolean) : NavigationState
Ongoing navigation.
Parameters
is Recomputing Route
Indicates if current route is being recomputed.
is Destination Reached
Indicates if navigation destination (waypoint) is reached.
is Auto Recompute Enabled
Indicates if auto route recomputation is enabled.
is Compute Traffic Enabled
Indicates if route traffic computation is enabled.
is Foreground Service Enabled
Indicates if foreground service is enabled.
ongoing Event
Indicates if any ongoing event is taking place.
new Events Data
New events data since last state change.
Constructors
Link copied to clipboard
constructor(isRecomputingRoute: Boolean, isDestinationReached: Boolean, isAutoRecomputeEnabled: Boolean, isComputeTrafficEnabled: Boolean, isForegroundServiceEnabled: Boolean, ongoingEvent: NavigationEvent.Ongoing?, newEventsData: List<NavigationEvent.EventResult>, init: Boolean)