Skip To Content ArcGIS for Developers Sign In Dashboard

OfflineMapCapabilities Class

class Esri::ArcGISRuntime::OfflineMapCapabilities

The capability of taking a map's layers and tables offline. More...

Header: #include <OfflineMapCapabilities>
Since: Esri::ArcGISRuntime 100.1

This class was introduced in Esri::ArcGISRuntime 100.1.

Public Functions

OfflineMapCapabilities(Esri::ArcGISRuntime::OfflineMapCapabilities &&other)
OfflineMapCapabilities(const Esri::ArcGISRuntime::OfflineMapCapabilities &other)
Esri::ArcGISRuntime::OfflineMapCapabilities &operator=(Esri::ArcGISRuntime::OfflineMapCapabilities &&other)
Esri::ArcGISRuntime::OfflineMapCapabilities &operator=(const Esri::ArcGISRuntime::OfflineMapCapabilities &other)
~OfflineMapCapabilities()
bool hasErrors() const
bool isEmpty() const
QMap<Esri::ArcGISRuntime::Layer *, Esri::ArcGISRuntime::OfflineCapability> layerCapabilities(QObject *parent = nullptr) const
QMap<Esri::ArcGISRuntime::FeatureTable *, Esri::ArcGISRuntime::OfflineCapability> tableCapabilities(QObject *parent = nullptr) const

Detailed Description

Member Function Documentation

OfflineMapCapabilities::OfflineMapCapabilities(Esri::ArcGISRuntime::OfflineMapCapabilities &&other)

Move constructor from other OfflineMapCapabilities.

OfflineMapCapabilities::OfflineMapCapabilities(const Esri::ArcGISRuntime::OfflineMapCapabilities &other)

Copy constructor from other OfflineMapCapabilities.

Esri::ArcGISRuntime::OfflineMapCapabilities &OfflineMapCapabilities::operator=(Esri::ArcGISRuntime::OfflineMapCapabilities &&other)

Move operator from other OfflineMapCapabilities.

Esri::ArcGISRuntime::OfflineMapCapabilities &OfflineMapCapabilities::operator=(const Esri::ArcGISRuntime::OfflineMapCapabilities &other)

Assignment operator from other OfflineMapCapabilities.

OfflineMapCapabilities::~OfflineMapCapabilities()

Destructor.

bool OfflineMapCapabilities::hasErrors() const

Returns whether there is at least one layer or table that cannot be included in the offline map.

This property will indicate that there are errors if any of the layers or tables cannot be taken offline.

bool OfflineMapCapabilities::isEmpty() const

Returns whether this object is empty.

QMap<Esri::ArcGISRuntime::Layer *, Esri::ArcGISRuntime::OfflineCapability> OfflineMapCapabilities::layerCapabilities(QObject *parent = nullptr) const

Returns layer capabilities for all the layers in the map.

The dictionary maps layer instances to offline capability. The dictionary has keys of element type Layer with values of OfflineCapability.

  • parent - A parent object that will manage the lifetime of the objects returned from this method.

QMap<Esri::ArcGISRuntime::FeatureTable *, Esri::ArcGISRuntime::OfflineCapability> OfflineMapCapabilities::tableCapabilities(QObject *parent = nullptr) const

Returns layer capabilities for all the feature tables in the map.

  • parent - A parent object that will manage the lifetime of the objects returned from this method.

Feedback on this topic?