KmlSchemaData Class

  • KmlSchemaData
  • class Esri::ArcGISRuntime::KmlSchemaData

    The key/value pairs obtained from the node's schema data and the associated schema. More...

    Header: #include <KmlSchemaData.h>
    Since: Esri::ArcGISRuntime 200.5
    Inherits: Esri::ArcGISRuntime::Object

    Public Functions

    KmlSchemaData(const QVariantMap &attributes, Esri::ArcGISRuntime::KmlSchema *schema, QObject *parent = nullptr)
    virtual ~KmlSchemaData() override
    QVariantMap attributes() const
    Esri::ArcGISRuntime::KmlSchema *schema() const
    void setAttributeValue(const QString &attributeName, const QVariant &attributeValue)

    Detailed Description

    Member Function Documentation

    [since Esri::ArcGISRuntime 200.6] KmlSchemaData::KmlSchemaData(const QVariantMap &attributes, Esri::ArcGISRuntime::KmlSchema *schema, QObject *parent = nullptr)

    Creates schema data from the attribute key-value pairs and schema.

    • attributes - The key-value pairs of the schema data.
    • schema - The schema associated with the schema data.
    • parent - The optional parent QObject.

    This function was introduced in Esri::ArcGISRuntime 200.6.

    [override virtual] KmlSchemaData::~KmlSchemaData()

    Destructor.

    QVariantMap KmlSchemaData::attributes() const

    Returns the key and value pairs obtained from schema data nodes.

    Esri::ArcGISRuntime::KmlSchema *KmlSchemaData::schema() const

    Returns the schema associated with the schema data.

    [since Esri::ArcGISRuntime 200.6] void KmlSchemaData::setAttributeValue(const QString &attributeName, const QVariant &attributeValue)

    Sets the value of an existing attribute.

    • attributeName - The name of the attribute to update.
    • attributeValue - The value to be set on the attribute.

    Object type must match the type of the attribute.

    This function was introduced in Esri::ArcGISRuntime 200.6.

    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