Interface CalculateIsolineCallback
Interface CalculateIsolineCallback
-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface CalculateIsolineCallbackA function which is called by the RoutingEngine after isoline calculation has completed. It is always called on the main thread. The first argument is the error in case of a failure. It is
nullfor an operation that succeeds. The second argument holds a list of calculated isolines. The list isnullin case of an error. The size of the list matches the size of the provided sdk.routing.IsolineOptions.range_values: For each range limit, one isoline is calculated.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonIsolineCalculated(RoutingError routingError, java.util.List<Isoline> isolines)A function which is called by the RoutingEngine after isoline calculation has completed.
-
-
-
Method Detail
-
onIsolineCalculated
void onIsolineCalculated(@Nullable RoutingError routingError, @Nullable java.util.List<Isoline> isolines)A function which is called by the RoutingEngine after isoline calculation has completed. It is always called on the main thread. The first argument is the error in case of a failure. It is
nullfor an operation that succeeds. The second argument holds a list of calculated isolines. The list isnullin case of an error. The size of the list matches the size of the provided sdk.routing.IsolineOptions.range_values: For each range limit, one isoline is calculated.- Parameters:
routingError-The error in case of a failure. It is
nullfor an operation that succeeds.isolines-Holds a list of calculated isolines. The list is
nullin case of an error.
-
-