GenerateGeodatabaseJob Class

Job that requests a feature service to generate a geodatabase file to be downloaded for offline use."> GenerateGeodatabaseJob Class | ArcGISQtCpp
  • GenerateGeodatabaseJob
  • class Esri::ArcGISRuntime::GenerateGeodatabaseJob

    A Job that requests a feature service to generate a geodatabase file to be downloaded 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

    This job is returned by the GeodatabaseSyncTask::generateGeodatabase method.

    The result of this job is a reference to a geodatabase object. The result can be retrieved after this job's status changes to JobStatus::Succeeded.

    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.