NavigationService class abstract
Navigation service class
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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
Static Properties
- simulationMaxSpeedMultiplier → double
-
Get the maximum simulation speed multiplier.
no setter
- simulationMinSpeedMultiplier → double
-
Get the minimum simulation speed multiplier.
no setter
- transferStatistics → TransferStatistics
-
Get the transfer statistics
no setter
Static Methods
- Cancel the active navigation.
-
getBetterRouteTimeDistanceToFork(
{TaskHandler? taskHandler}) → TimeDistance - Get better route time-distance until it forks the navigation route.
- Get the current navigation instruction.
- Get navigation parameters.
- Get the current route used for navigation.
- Check if there is an active navigation in progress.
-
isSimulationActive(
{TaskHandler? taskHandler}) → bool - Check if there is an active simulation in progress.
-
isTripActive(
{TaskHandler? taskHandler}) → bool - Check if there is an active trip ( navigation or simulation ) in progress.
- Cancel the active navigation.
-
skipNextIntermediateDestination(
{TaskHandler? taskHandler}) → GemError - Skip next intermediate destination on the navigation route.
- Start a new navigation
-
startSimulation(
Route route, void onTextToSpeechInstruction(String textInstruction)?, void onWaypointReached(Landmark landmark)?, void onDestinationReached(Landmark landmark)?, void onRouteUpdated(Route route)?, void onBetterRouteDetected(Route route, int travelTime, int delay, int timeGain)?, void onBetterRouteRejected(GemError reason)?, void onBetterRouteInvalidated()?, void onSkipNextIntermediateDestinationDetected()?, void onError(GemError error)?, void onNotifyStatusChange(NavigationStatus status)?, double speedMultiplier = 1.0}) → TaskHandler? - Start a new simulation