Class GenerateOfflineMapResult

    • 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 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 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