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

findReachableRange

@DeprecatedSince(2020, 7) abstract fun findReachableRange(query: ReachableRangeQuery): Single<ReachableRangeResponse>
Deprecated: This method is replaced by appropriate method in sdk-routing-rxjava2 module. Please visit https://developer.tomtom.com/maps-android-sdk/routing for more details.

Performs a reactive reachable range computing action based on the provided ReachableRangeQuery object.

Parameters

query - The object which contains the data necessary to execute the reachable range computing action.

Return
ReachableRangeResponse's Single object.

@DeprecatedSince(2020, 6) abstract fun findReachableRange(query: ReachableRangeQuery, listener: ReachableRangeResultListener): Unit
Deprecated: This method is going to be replaced by appropriate planRoute() method

Performs a reachable range computing action action based on the provided ReachableRangeQuery object and returns the route in the callback.

Parameters

query - The object which contains the data necessary to execute the reachable range computing action.

listener - The ReachableRangeResultListener which contains data about reachable range.