Class ClosestFacilityResult
A class that contains the output results from a SolveClosestFacilityAsync(ClosestFacilityParameters) operation.
Inheritance
Namespace: Esri.ArcGISRuntime.Tasks.NetworkAnalysis
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class ClosestFacilityResult
Remarks
The result is a collection of computed routes between incidents and facilities, barriers used in the computation, and messages generated during the process.
Properties
| Name | Description |
|---|---|
| DirectionsLanguage | Gets the language used to generate driving directions text instructions (i.e. en, fr, pt-BR, zh-Hans, etc.) |
| Facilities | Gets the list of Facilities used in the analysis. |
| Incidents | Gets the list of Incidents used in the analysis. |
| Messages | Gets the list of informational messages that were generated while computing results. |
| PointBarriers | Gets the list of point barriers used in the route computation. |
| PolygonBarriers | Gets the list of polygon barriers used in the route computation. |
| PolylineBarriers | Gets the list of the polyline barriers used in the route computation. |
Methods
| Name | Description |
|---|---|
| GetFacilityCosts(String, Int32) | Retrieves the cost for the specified facility attribute. |
| GetRankedFacilityIndexes(Int32) | Retrieves an ordered list of facilities for a given incident. |
| GetRoute(Int32, Int32) | Retrieves a route between an incident and a facility. |
Applies to
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.3 - 200.8 |
| .NET | 100.13 - 200.8 |
| .NET Windows | 100.13 - 200.8 |
| .NET Android | 200.0 - 200.8 |
| .NET iOS | 200.0 - 200.8 |
| .NET Framework | 100.1 - 200.8 |
| Xamarin.Android | 100.1 - 100.15 |
| Xamarin.iOS | 100.1 - 100.15 |
| UWP | 100.1 - 200.8 |