GenerateGeodatabaseJob Class

  • GenerateGeodatabaseJob
  • class Esri::ArcGISRuntime::GenerateGeodatabaseJob

    The GenerateGeodatabaseJob requests that a sync-enabled ArcGIS feature service generates a geodatabase file and downloads it for offline use. More...

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

    Public Functions

    virtual ~GenerateGeodatabaseJob() override
    Esri::ArcGISRuntime::Geodatabase *result() const

    Detailed Description

    To make a GenerateGeodatabaseJob, use the GeodatabaseSyncTask as follows:

    Start the GenerateGeodatabaseJob and monitor progress. On completion, obtain the Geodatabase from the result.

    Relevant samples:

    See also SyncGeodatabaseJob.

    Member Function Documentation

    [override virtual] GenerateGeodatabaseJob::~GenerateGeodatabaseJob()

    Destructor.

    Esri::ArcGISRuntime::Geodatabase *GenerateGeodatabaseJob::result() const

    Returns for a successfully completed job, the result returns the local geodatabase. Otherwise, nullptr is returned.

    If the job is in progress then a nullptr result is returned until the job successfully completes. The returned geodatabase is in a not loaded state; use Geodatabase::load to load it. A geodatabase downloaded in this way can contain features, annotation and dimensions that are accessed with the Geodatabase::geodatabaseFeatureTables, Geodatabase::geodatabaseAnnotationTables and Geodatabase::geodatabaseDimensionTables collections, respectively.

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