Package 

Interface DirectionClient

  • All Implemented Interfaces:

    
    public interface DirectionClient
    
                        

    Client that exposes the functions to create supported requests in Direction Service Service. To get DirectionClient instance, use DirectionClient.Factory.createInstance(SDKOptions options)

    • Constructor Detail

    • Method Detail

      • createIsochroneTask

         abstract Task<IsochroneResponse> createIsochroneTask(@NonNull() IsochroneRequest request, @NonNull() RequestMode mode)

        Create a task for Isochrone calculation based on specified request mode.

        An isochrone, from Greek root word iso (equal) and chrone (time), is a line that connects points of equal travel time or distance around a given location. The Isochrone task will computes the area that is reachable within a specified time (currently not supported) or distance from a location and returns it as a list of geometrical points.

        Parameters:
        request - java/kt IsochroneRequest object IsochroneRequest.
        mode - whether the request will be sent to cloud, onboard or hybrid mode.
      • createEvIsochroneTask

         abstract Task<IsochroneResponse> createEvIsochroneTask(@NonNull() EvIsochroneRequest request)

        Create a task for Isochrone calculation based on the remaining battery power of the current vehicle An isochrone, from Greek root word iso (equal) and chrone (time), is a line that connects points of equal travel time or distance around a given location. The Isochrone task will computes the area that is reachable within a specified time (currently not supported) or distance from a location and returns it as a list of geometrical points.

        Parameters:
        request - EvIsochroneRequest.
      • dispose

         abstract void dispose()

        Clean up memory and cache usage for Direction Client, this will also terminate onboard routing engine.