Class ServiceAreaResult
- java.lang.Object
 - 
- com.esri.arcgisruntime.tasks.networkanalysis.ServiceAreaResult
 
 
- 
public final class ServiceAreaResult extends Object
Represents the result ofServiceAreaTask.solveServiceAreaAsync(ServiceAreaParameters).The result is a collection of computed service area polylines, polygons, barriers used in the computation, and messages generated during the process.
- Since:
 - 100.1.0
 
 
- 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ServiceAreaFacility>getFacilities()Gets a list of the facilities used to calculate the service area.List<String>getMessages()Gets the informational messages that were generated while computing service area outputs.List<PointBarrier>getPointBarriers()Gets the point barriers used to calculate the service area.List<PolygonBarrier>getPolygonBarriers()Gets the polygon barriers used to calculate the service area.List<PolylineBarrier>getPolylineBarriers()Gets the polyline barriers used to calculate the service area.List<ServiceAreaPolygon>getResultPolygons(int facilityIndex)Gets the result service area polygons.List<ServiceAreaPolyline>getResultPolylines(int facilityIndex)Gets the result service area polylines. 
 - 
 
- 
- 
Method Detail
- 
getFacilities
public List<ServiceAreaFacility> getFacilities()
Gets a list of the facilities used to calculate the service area.- Returns:
 - an unmodifiable list of the facilities
 - Since:
 - 100.1.0
 - See Also:
 ServiceAreaParameters.setFacilities(Iterable),ServiceAreaParameters.setFacilities(ArcGISFeatureTable, QueryParameters)
 
- 
getPointBarriers
public List<PointBarrier> getPointBarriers()
Gets the point barriers used to calculate the service area. Only available ifServiceAreaParameters.setReturnPointBarriers(boolean)is set.- Returns:
 - an unmodifiable list of the point barriers
 - Since:
 - 100.1.0
 - See Also:
 ServiceAreaParameters.setPointBarriers(Iterable),ServiceAreaParameters.setPointBarriers(ArcGISFeatureTable, QueryParameters)
 
- 
getPolylineBarriers
public List<PolylineBarrier> getPolylineBarriers()
Gets the polyline barriers used to calculate the service area. Only available ifServiceAreaParameters.setReturnPolylineBarriers(boolean)is set.- Returns:
 - an unmodifiable list of the polyline barriers
 - Since:
 - 100.1.0
 - See Also:
 ServiceAreaParameters.setPolylineBarriers(Iterable),ServiceAreaParameters.setPolylineBarriers(ArcGISFeatureTable, QueryParameters)
 
- 
getPolygonBarriers
public List<PolygonBarrier> getPolygonBarriers()
Gets the polygon barriers used to calculate the service area. Only available ifServiceAreaParameters.setReturnPolygonBarriers(boolean)is set.- Returns:
 - an unmodifiable list of the polygon barriers
 - Since:
 - 100.1.0
 - See Also:
 ServiceAreaParameters.setPolygonBarriers(Iterable),ServiceAreaParameters.setPolygonBarriers(ArcGISFeatureTable, QueryParameters)
 
- 
getMessages
public List<String> getMessages()
Gets the informational messages that were generated while computing service area outputs.- Returns:
 - an unmodifiable list of the messages
 - Since:
 - 100.1.0
 
 
- 
getResultPolylines
public List<ServiceAreaPolyline> getResultPolylines(int facilityIndex)
Gets the result service area polylines. Only available ifServiceAreaParameters.setReturnPolylines(boolean)is set.- Parameters:
 facilityIndex- the facility's index- Returns:
 - an unmodifiable list of the service area polylines
 - Since:
 - 100.1.0
 
 
- 
getResultPolygons
public List<ServiceAreaPolygon> getResultPolygons(int facilityIndex)
Gets the result service area polygons. Only available ifServiceAreaParameters.setReturnPolygons(boolean)is set.- Parameters:
 facilityIndex- the facility's index- Returns:
 - an unmodifiable list of the service area polygons
 
 
 - 
 
 -