Click or drag to resize

IAsyncRouteCalculator Interface

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
The IAsyncRouteCalculator interface enables calculating a route asynchronously (probably on a worker thread), so that navigation can begin before the route calculation is finished.

Namespace:  Telogis.GeoBase.Navigation
Assembly:  geobase.net (in geobase.net.dll) Version: 4.97.0.0
Syntax
public interface IAsyncRouteCalculator : IRouteCalculator, 
	IDisposable

The IAsyncRouteCalculator type exposes the following members.

Properties
  NameDescription
Public propertyDirections
Returns a GeoBase Directions object. DirectionsFactory exists to serve the purpose of constructing these Directions.
(Inherited from IRouteCalculator.)
Public propertyIsReady
Returns true if the async worker thread is not busy calculating a route i.e. Directions is ready to be fetched.
Public propertyMessagesBundle
The MessagesBundle, allowing for internationalization of route calculations.
(Inherited from IRouteCalculator.)
Public propertyVehicleSpec
Set/Get the Vehicle specifications as required for route calculation.
(Inherited from IRouteCalculator.)
Top
Methods
  NameDescription
Public methodCancelRouteCalculation
Cancels the route calculation.
(Inherited from IRouteCalculator.)
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable.)
Public methodRecalculateRoute
Do the work of recalculating the route.
(Inherited from IRouteCalculator.)
Public methodRecalculateRouteAsync
Request route recalculation. Calls to this method can be interspersed with calls to its synchronous (blocking) version i.e. RecalculateRoute(RouteStop, RouteStop, RoutingStrategy, RouteProgress), but both have to be called on the same thread, otherwise behavior is undefined.
Public methodUpdatePosition
Updates the Position details (location, signal quality, speed and heading) of the vehicle.
(Inherited from IRouteCalculator.)
Top
See Also