ArcGIS Developers
Dashboard

GenerateGeodatabaseJob Class

class Esri::ArcGISRuntime::GenerateGeodatabaseJob

A job returned by the GeodatabaseSyncTask::generateGeodatabase method. More...

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

This class was introduced in Esri::ArcGISRuntime 100.0.

Public Functions

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

Detailed Description

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.

Member Function Documentation

[override virtual] GenerateGeodatabaseJob::~GenerateGeodatabaseJob()

Destructor.

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

Gets the result from this GenerateGeodatabaseJob.

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

The returned geodatabase is in an unloaded state; use ref@Geodatabase.load to load it. A geodatabase downloaded in this way can contain features and annotation that are accessed with the Geodatabase::geodatabaseFeatureTables and Geodatabase::geodatabaseAnnotationTables collections, respectively.


Feedback on this topic?