Class DrivingOptions
com.yandex.mapkit.driving
java.lang.Object ⇽ DrivingOptions
public class DrivingOptions
Constructors
DrivingOptions(Double initialAzimuth, Integer alternativeCount, OfflineHandicap offlineHandicap, Boolean avoidTolls) | |
DrivingOptions() | Use constructor with parameters in your code. |
DrivingOptions(Double initialAzimuth, Integer alternativeCount, OfflineHandicap offlineHandicap, Boolean avoidTolls) | |
DrivingOptions() | Use constructor with parameters in your code. |
Methods
Integer | getAlternativeCount() | Optional field, can be null. |
Boolean | getAvoidTolls() | The 'avoidTolls' option instructs the router to return routes that avoid tolls, when possible. |
Double | getInitialAzimuth() | Optional field, can be null. |
OfflineHandicap | getOfflineHandicap() | Optional field, can be null. |
void | serialize(Archive archive) | |
DrivingOptions | setAlternativeCount(Integer alternativeCount) | |
DrivingOptions | setAvoidTolls(Boolean avoidTolls) | See getAvoidTolls(). |
DrivingOptions | setInitialAzimuth(Double initialAzimuth) | See getInitialAzimuth(). |
DrivingOptions | setOfflineHandicap( OfflineHandicap offlineHandicap) | See getOfflineHandicap(). |
Integer | getAlternativeCount() | Optional field, can be null. |
Boolean | getAvoidTolls() | The 'avoidTolls' option instructs the router to return routes that avoid tolls, when possible. |
Double | getInitialAzimuth() | Optional field, can be null. |
OfflineHandicap | getOfflineHandicap() | Optional field, can be null. |
void | serialize(Archive archive) | |
DrivingOptions | setAlternativeCount(Integer alternativeCount) | |
DrivingOptions | setAvoidTolls(Boolean avoidTolls) | See getAvoidTolls(). |
DrivingOptions | setInitialAzimuth(Double initialAzimuth) | See getInitialAzimuth(). |
DrivingOptions | setOfflineHandicap( OfflineHandicap offlineHandicap) | See getOfflineHandicap(). |
Constructor Detail
DrivingOptions
public DrivingOptions (Double initialAzimuth, Integer alternativeCount, OfflineHandicap offlineHandicap, Boolean avoidTolls)
DrivingOptions
public DrivingOptions ()
Use constructor with parameters in your code.
This one is for bindings only!Method Detail
getAlternativeCount
public Integer getAlternativeCount ()
Optional field, can be null.
getAvoidTolls
public Boolean getAvoidTolls ()
The 'avoidTolls' option instructs the router to return routes that avoid tolls, when possible.
Optional field, can be null.getInitialAzimuth
public Double getInitialAzimuth ()
Optional field, can be null.
getOfflineHandicap
public OfflineHandicap getOfflineHandicap ()
Optional field, can be null.
serialize
public void serialize (Archive archive)
setAlternativeCount
public DrivingOptions setAlternativeCount (Integer alternativeCount)
setAvoidTolls
public DrivingOptions setAvoidTolls (Boolean avoidTolls)
See getAvoidTolls().
setInitialAzimuth
public DrivingOptions setInitialAzimuth (Double initialAzimuth)
See getInitialAzimuth().
setOfflineHandicap
public DrivingOptions setOfflineHandicap (OfflineHandicap offlineHandicap)
See getOfflineHandicap().