Class DownloadPreplannedOfflineMapJob

    • Method Detail

      • getDownloadDirectoryPath

        public java.lang.String getDownloadDirectoryPath()
        Gets the download directory path used by this job. This is the folder in which the resultant mobile map package is stored.

        The directory path is the path that was supplied as a parameter to the OfflineMapTask.downloadPreplannedOfflineMap(PreplannedMapArea, String). The job will fail if the last directory in the path cannot be created or is not empty.

        As the job also returns a mobile map package, the same path can be used to instantiate the MobileMapPackage for later use.

        Returns:
        A string containing the directory path to the location of the mobile map package. null, if an error occurs.
        Since:
        100.2.0
      • getOnlineMap

        public ArcGISMap getOnlineMap()
        Gets the online map used by this job.
        Returns:
        the online map used by this job
        Since:
        100.2.0
      • getParameters

        public DownloadPreplannedOfflineMapParameters getParameters()
        Gets the preplanned parameters used to create this job.
        Returns:
        the preplanned map parameters used to create this job
        Since:
        100.4.0
      • getPreplannedMapArea

        @Deprecated
        public PreplannedMapArea getPreplannedMapArea()
        Deprecated.
        As of 100.4.0, replaced by getParameters().
        Gets the preplanned map area used by this job.
        Returns:
        the preplanned map area used by this job
        Since:
        100.2.0