Module com.esri.arcgisruntime
Class GenerateOfflineMapResult
java.lang.Object
com.esri.arcgisruntime.tasks.offlinemap.GenerateOfflineMapResult
Represents the result of a GenerateOfflineMapJob created by an OfflineMapTask.
- Since:
- 100.1.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionGets the errors for any layers that could not be taken offline.Gets the mobile map package containing the offline map that was generated.Gets the offline map that was generated.Gets the errors for any tables that were not taken offline.boolean
Indicates if any layers or tables were not taken offline.
-
Method Details
-
hasErrors
public boolean hasErrors()Indicates if any layers or tables were not taken offline.- Returns:
- true if any layer or table was not taken offline, false if they were all taken offline successfully
- Since:
- 100.1.0
-
getLayerErrors
Gets the errors for any layers that could not be taken offline.- Returns:
- an unmodifiable Map; the keys are Layers that were not taken offline and the values are ArcGISRuntimeExceptions representing errors associated with the layers
- Since:
- 100.1.0
-
getTableErrors
Gets the errors for any tables that were not taken offline.- Returns:
- an unmodifiable Map; the keys are FeatureTables that were not taken offline and the values are ArcGISRuntimeExceptions representing errors associated with the tables
- Since:
- 100.1.0
-
getMobileMapPackage
Gets the mobile map package containing the offline map that was generated.- Returns:
- the mobile map package
- Since:
- 100.1.0
-
getOfflineMap
Gets the offline map that was generated. The layers within the map will reference offline layers.- Returns:
- the offline map
- Since:
- 100.1.0
-