OfflineMapCapabilities Class

  • OfflineMapCapabilities
  • class Esri::ArcGISRuntime::OfflineMapCapabilities

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

    Header: #include <OfflineMapCapabilities.h>
    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 indicates whether the map contains any layers or tables that cannot be taken offline. This is not relevant to offline maps that reference online-only layers and tables. Setting GenerateOfflineMapParameters::onlineOnlyServicesOption to OnlineOnlyServicesOption::Include will allow online-only data to be included in the offline map and referenced by URL.

    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.

    The Dictionary has keys of element type FeatureTable with values of OfflineCapability.

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

    Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.