Class DownloadPreplannedOfflineMapResult

    • Method Detail

      • hasErrors

        public boolean hasErrors()
        Indicates if any layers or tables were not taken offline.

        To determine which layers or tables could not be taken offline, use getLayerErrors() and getTableErrors() respectively.

        Returns:
        true if any layer or table was not taken offline, false if they were all taken offline successfully
        Since:
        100.2.0
      • getLayerErrors

        public java.util.Map<Layer,​ArcGISRuntimeException> getLayerErrors()
        Gets the errors for any layers that were not 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.2.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.2.0
      • getMobileMapPackage

        public MobileMapPackage getMobileMapPackage()
        Gets the mobile map package containing the requested offline map.
        Returns:
        the mobile map package
        Since:
        100.2.0
      • getOfflineMap

        public ArcGISMap getOfflineMap()
        Gets the offline map containing the requested preplanned map area. This map contains layers that reference only offline layers and tables so that the map can be accessed without network connectivity.
        Returns:
        the offline map
        Since:
        100.2.0