DownloadPreplannedOfflineMapJob Class

  • DownloadPreplannedOfflineMapJob
  • class Esri::ArcGISRuntime::DownloadPreplannedOfflineMapJob

    A job to download an offline map area from an online map as part of the preplanned offline workflow. More...

    Header: #include <DownloadPreplannedOfflineMapJob.h>
    Since: Esri::ArcGISRuntime 100.2
    Inherits: Esri::ArcGISRuntime::Job

    Public Functions

    virtual ~DownloadPreplannedOfflineMapJob() override
    QString downloadDirectoryPath() const
    Esri::ArcGISRuntime::Map *onlineMap() const
    Esri::ArcGISRuntime::DownloadPreplannedOfflineMapParameters parameters() const
    Esri::ArcGISRuntime::DownloadPreplannedOfflineMapResult *result() const

    Detailed Description

    Use this job to download the map content of a map area to your device so that you can work offline without a network connection. Upon completion, the job's DownloadPreplannedOfflineMapResult provides the offline map along with the details of any errors incurred during the download process.

    An object of this type is created by the function OfflineMapTask::downloadPreplannedOfflineMap.

    Member Function Documentation

    [override virtual] DownloadPreplannedOfflineMapJob::~DownloadPreplannedOfflineMapJob()


    QString DownloadPreplannedOfflineMapJob::downloadDirectoryPath() const

    Returns the download folder used by this job to write the mobile map package result.

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

    Esri::ArcGISRuntime::Map *DownloadPreplannedOfflineMapJob::onlineMap() const

    Returns the online map used by this job.

    [since Esri::ArcGISRuntime 100.4] Esri::ArcGISRuntime::DownloadPreplannedOfflineMapParameters DownloadPreplannedOfflineMapJob::parameters() const

    Returns the preplanned map parameters used to create this job.

    This function was introduced in Esri::ArcGISRuntime 100.4.

    Esri::ArcGISRuntime::DownloadPreplannedOfflineMapResult *DownloadPreplannedOfflineMapJob::result() const

    Returns the DownloadPreplannedOfflineMapResult.

    Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.