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.

    You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

    Your ArcGIS portal

    Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

    Your ArcGIS Location Platform dashboard

    Manage billing, monitor service usage, and access additional resources.

    Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

    Close