Class GenerateOfflineMapResult
- java.lang.Object
-
- com.esri.arcgisruntime.tasks.offlinemap.GenerateOfflineMapResult
-
public final class GenerateOfflineMapResult extends java.lang.Object
Represents the result of a GenerateOfflineMapJob created by an OfflineMapTask.- Since:
- 100.1.0
- See Also:
OfflineMapTask.generateOfflineMap(GenerateOfflineMapParameters, String)
,GenerateOfflineMapJob
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<Layer,ArcGISRuntimeException>
getLayerErrors()
Gets the errors for any layers that could not be taken offline.MobileMapPackage
getMobileMapPackage()
Gets the mobile map package containing the offline map that was generated.ArcGISMap
getOfflineMap()
Gets the offline map that was generated.java.util.Map<FeatureTable,ArcGISRuntimeException>
getTableErrors()
Gets the errors for any tables that were not taken offline.boolean
hasErrors()
Indicates if any layers or tables were not taken offline.
-
-
-
Method Detail
-
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
public java.util.Map<Layer,ArcGISRuntimeException> 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
public java.util.Map<FeatureTable,ArcGISRuntimeException> 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
public MobileMapPackage getMobileMapPackage()
Gets the mobile map package containing the offline map that was generated.- Returns:
- the mobile map package
- Since:
- 100.1.0
-
getOfflineMap
public ArcGISMap 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
-
-