sdk-routing / com.tomtom.online.sdk.routing / RoutingApi / planReachableRange

planReachableRange

@PublicPreview("2021.06") abstract fun planReachableRange(reachableRangeSpecification: ReachableRangeSpecification): Result<ReachableRangeArea>

Performs a synchronous plan route computing action based on the provided ReachableRangeSpecification object.

Parameters

reachableRangeSpecification - The object which contains data necessary to execute the plan route computing action.

Return
ReachableRangeArea's Result object.

@PublicPreview("2021.06") abstract fun planReachableRange(reachableRangeSpecification: ReachableRangeSpecification, reachableAreaCallback: ReachableAreaCallback): Unit

Performs an asynchronous plan route computing action based on the provided ReachableRangeSpecification object and returns the reachable area in the callback.

Parameters

reachableRangeSpecification - The object which contains data necessary to execute the plan route computing action.