Interface WaypointOptimizationTrafficOptions.Builder

    • Method Detail

      • usage

        WaypointOptimizationTrafficOptions.Builder usage​(String usage)

        Determines if traffic should be used or ignored while calculating the route.

        Default Value: UseTrafficData

        Parameters:
        usage - Determines if traffic should be used or ignored while calculating the route.

        Default Value: UseTrafficData

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        TrafficUsage, TrafficUsage
      • usage

        WaypointOptimizationTrafficOptions.Builder usage​(TrafficUsage usage)

        Determines if traffic should be used or ignored while calculating the route.

        Default Value: UseTrafficData

        Parameters:
        usage - Determines if traffic should be used or ignored while calculating the route.

        Default Value: UseTrafficData

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        TrafficUsage, TrafficUsage