Interface Directions

com.yandex.mapkit.directions

public interface Directions

Methods

DrivingRouter createDrivingRouter()

Creates a manager that builds driving routes using the specified endpoints and other route parameters.

boolean isValid()

Tells if this Directions is valid or no.

Method Detail

createDrivingRouter

public DrivingRouter createDrivingRouter ()

Creates a manager that builds driving routes using the specified endpoints and other route parameters.

isValid

public boolean isValid ()

Tells if this Directions is valid or no.

Any other method (except for this one) called on an invalid Directions will throw java.lang.RuntimeException. An instance becomes invalid only on UI thread, and only when its implementation depends on objects already destroyed by now. Please refer to general docs about the interface for details on its invalidation.