public class RoutesConfig extends Object
RouteManager
config.Modifier and Type | Method and Description |
---|---|
void |
close() |
RouteManager.RouteType |
getDefaultType()
Get the default types for routes.
|
int |
getDisplayMaxZoomLevel()
Get the maximum zoom level for for displaying routes on the map.
|
int |
getDisplayMinZoomLevel()
Get the minimum zoom level for for displaying routes on the map.
|
int |
getMaxAlternative()
Get the max alternative count value for routes.
|
long |
getRefreshInterval()
Get the refresh interval for routes in milliseconds.
|
void |
registerChangeListener(SdkConfigurationChangedListener listener)
Register a listener for sdk configuration changes.
|
String |
toString() |
void |
unregisterChangeListener(SdkConfigurationChangedListener listener)
Un-register a listener for sdk configuration changes.
|
boolean |
useAccessPoints()
Get whether or not routing should attempt to use access points when locations are not routable.
|
close, registerChangeListener, toString, unregisterChangeListener
public RouteManager.RouteType getDefaultType()
RouteManager.RouteType
.public int getMaxAlternative()
public long getRefreshInterval()
public int getDisplayMinZoomLevel()
public int getDisplayMaxZoomLevel()
public boolean useAccessPoints()
true
to utilize access points, false
otherwise.public void registerChangeListener(SdkConfigurationChangedListener listener)
SdkConfigSection
listener
- An instance of SdkConfigurationChangedListener
.public void unregisterChangeListener(SdkConfigurationChangedListener listener)
SdkConfigSection
listener
- An instance of SdkConfigurationChangedListener
.public void close()
SdkConfigSection
close
in interface Closeable
close
in interface AutoCloseable
public String toString()
SdkConfigSection
Copyright © 2013-2018 INRIX, Inc. All Rights Reserved.