Obsolete Members for FeatureCollection

  • FeatureCollection
  • The following members of class FeatureCollection are deprecated. They are provided to keep old source code working. We strongly advise against using them in new code.

    Public Functions

    (deprecated) QUuid save()
    (deprecated) QUuid saveAs(Esri::ArcGISRuntime::Portal *portal, const QString &title, const QStringList &tags, const Esri::ArcGISRuntime::PortalFolder &folder = PortalFolder(), const QString &description = QString(), const QByteArray &thumbnailBytes = QByteArray())

    Signals

    (deprecated) void saveAsCompleted(const QUuid &taskId, bool succeeded)
    (deprecated) void saveCompleted(const QUuid &taskId, bool succeeded)

    Member Function Documentation

    [since Esri::ArcGISRuntime 100.1] QUuid FeatureCollection::save()

    This function is deprecated. We strongly advise against using it in new code.

    Saves any changes that have been made to the FeatureCollection to the associated PortalItem.

    The FeatureCollection must have been constructed using the PortalItem constructor to associate it with a PortalItem object, or must have been previously saved using saveAs.

    Updates the FeatureCollection content data on the portal and also updates the portal item properties stored on the portal to match those stored within the FeatureCollection's PortalItem object.

    If the portal associated with the item is not loaded, it will be loaded automatically. If the portal requires a credential that has not been supplied, it should be loaded before calling this function.

    The FeatureCollection must be loaded to call this function. Calling this function will not force the FeatureCollection to start loading. If the FeatureCollection is not already associated with a PortalItem, calling save will emit errorOccurred.

    This function was introduced in Esri::ArcGISRuntime 100.1.

    [since Esri::ArcGISRuntime 100.1] QUuid FeatureCollection::saveAs(Esri::ArcGISRuntime::Portal *portal, const QString &title, const QStringList &tags, const Esri::ArcGISRuntime::PortalFolder &folder = PortalFolder(), const QString &description = QString(), const QByteArray &thumbnailBytes = QByteArray())

    This function is deprecated. We strongly advise against using it in new code.

    Saves the FeatureCollection to a new PortalItem.

    • portal - The portal to save the PortalItem to.
    • title - A title for the feature collection.
    • tags - The tags to be associated with the newly created portal item.
    • folder - The folder in which to save the feature collection. If empty, it will be added to the user's root folder.
    • description - The description of the feature collection.
    • thumbnailBytes - The thumbnail of the feature collection.

    Updates the FeatureCollection content data on the portal and the portal item properties stored on the portal to match those stored within the item object.

    The FeatureCollection must have been constructed using the FeatureCollection(PortalItem) constructor to associate it with a PortalItem object, or must have been previously saved using saveAsAsync(). The FeatureCollection must be loaded.

    If the portal associated with the item is not loaded, it will be loaded automatically. If the portal requires a credential that has not been supplied, it should have been previously loaded.

    This function was introduced in Esri::ArcGISRuntime 100.1.

    [signal] void FeatureCollection::saveAsCompleted(const QUuid &taskId, bool succeeded)

    This function is deprecated. We strongly advise against using it in new code.

    Signal emitted when the saveAs operation is completed.

    • taskId - The task ID for the asynchronous operation.
    • succeeded - Whether the operation was successful.

    [signal] void FeatureCollection::saveCompleted(const QUuid &taskId, bool succeeded)

    This function is deprecated. We strongly advise against using it in new code.

    Signal emitted when the save operation is completed.

    • taskId - The task ID for the asynchronous operation.
    • succeeded - Whether the operation was successful.

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