Skip To Content ArcGIS for Developers Sign In Dashboard

GenerateOfflineMapResult Class

class Esri::ArcGISRuntime::GenerateOfflineMapResult

The result of a GenerateOfflineMapJob. More...

Header: #include <GenerateOfflineMapResult>
Since: Esri::ArcGISRuntime 100.1
Inherits: Esri::ArcGISRuntime::Object

This class was introduced in Esri::ArcGISRuntime 100.1.

Public Functions

virtual ~GenerateOfflineMapResult() override
bool hasErrors() const
QMap<Esri::ArcGISRuntime::Layer *, Esri::ArcGISRuntime::Error> layerErrors() const
Esri::ArcGISRuntime::MobileMapPackage *mobileMapPackage(QObject *parent = nullptr) const
Esri::ArcGISRuntime::Map *offlineMap(QObject *parent = nullptr) const
QMap<Esri::ArcGISRuntime::FeatureTable *, Esri::ArcGISRuntime::Error> tableErrors() const

Detailed Description

Member Function Documentation

[override virtual] GenerateOfflineMapResult::~GenerateOfflineMapResult()

Destructor.

bool GenerateOfflineMapResult::hasErrors() const

Returns whether there is at least one layer or table that could not be taken offline.

QMap<Esri::ArcGISRuntime::Layer *, Esri::ArcGISRuntime::Error> GenerateOfflineMapResult::layerErrors() const

Returns any errors associated with layers that could not be taken offline.

Esri::ArcGISRuntime::MobileMapPackage *GenerateOfflineMapResult::mobileMapPackage(QObject *parent = nullptr) const

Returns the mobile map package containing the offline map.

  • parent - The object to set as the parent of the returned map. If not provided, the parent will be this GenerateOfflineMapResult object.

Esri::ArcGISRuntime::Map *GenerateOfflineMapResult::offlineMap(QObject *parent = nullptr) const

Returns the offline map.

  • parent - The object to set as the parent of the returned map. If not provided, the parent will be this GenerateOfflineMapResult object.

QMap<Esri::ArcGISRuntime::FeatureTable *, Esri::ArcGISRuntime::Error> GenerateOfflineMapResult::tableErrors() const

Returns any errors associated with feature tables that could not be taken offline.


Feedback on this topic?