ExportTileCacheJob Class

  • ExportTileCacheJob
  • class Esri::ArcGISRuntime::ExportTileCacheJob

    A job that exports a tile cache (.tpk or .tpkx) from a map or image service. More...

    Header: #include <ExportTileCacheJob.h>
    Since: Esri::ArcGISRuntime 100.0
    Inherits: Esri::ArcGISRuntime::Job

    Public Functions

    virtual ~ExportTileCacheJob() override
    Esri::ArcGISRuntime::TileCache *result() const

    Detailed Description

    To make an ExportTileCacheJob, use the ExportTileCacheTask as follows:

    Start the ExportTileCacheJob and monitor progress. Upon completion, the job's result returns a tile cache.

    See the Job class for full information on how to work with jobs.

    Relevant samples:

    • Export tiles: Download tiles to a local tile cache file stored on the device.

    Member Function Documentation

    [override virtual] ExportTileCacheJob::~ExportTileCacheJob()

    Destructor.

    Esri::ArcGISRuntime::TileCache *ExportTileCacheJob::result() const

    Returns the TileCache created by the ExportTileCacheJob.

    Obtain the TileCache once the job status changes to JobStatus::Succeeded. Connect to the Job::statusChanged signal to know when the job's status changes.

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