Class CostAttribute
- java.lang.Object
 - 
- com.esri.arcgisruntime.tasks.networkanalysis.CostAttribute
 
 
- 
public final class CostAttribute extends Object
Represents the cost incurred while traversing a route. Optimized routes attempt to minimize the cost of various impedances such as travel time, distance covered, elevation gained, etc. 
- 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>getParameterValues()Gets the parameter values.AttributeUnitgetUnit()Gets the unit in which the cost values are measured. 
 - 
 
- 
- 
Method Detail
- 
getUnit
public AttributeUnit getUnit()
Gets the unit in which the cost values are measured.- Returns:
 - the unit
 - Since:
 - 100.0.0
 
 
 - 
 
 -