Obsolete Members for Item

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

    Public Functions

    (deprecated) void fetchData(const QString &filePath)
    (deprecated) void fetchThumbnail()
    (deprecated) void updateItemProperties()

    Signals

    (deprecated) void fetchDataCompleted(bool success)
    (deprecated) void fetchThumbnailCompleted(bool success)
    (deprecated) void updateItemPropertiesCompleted(bool success, const QString &itemId)

    Member Function Documentation

    void Item::fetchData(const QString &filePath)

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

    Fetches the data for this item and saves to the specified filePath.

    See also Item::fetchDataCompleted.

    [signal] void Item::fetchDataCompleted(bool success)

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

    Emitted when fetching of data has completed for this item.

    • success - Whether the data was fetched successfully.

    void Item::fetchThumbnail()

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

    Starts an asynchronous operation to fetch the thumbnail image.

    See also Item::thumbnail.

    [signal] void Item::fetchThumbnailCompleted(bool success)

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

    Emitted when fetching the thumbnail has completed for this item.

    • success - Whether the thumbnail was fetched successfully.

    [since Esri::ArcGISRuntime 100.4] void Item::updateItemProperties()

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

    Starts an asynchronous task to update an item's properties.

    The updateItemPropertiesCompleted signal includes whether the operation was successful.

    PortalItem

    If the item is a portal item, this method starts an asynchronous task to update properties of the remote PortalItem.

    Note: Prior to Esri::ArcGISRuntime 100.4, this method was only available on PortalItem.

    LocalItem

    If the item is a local item, this method starts an asynchronous task to update the item's properties the local file system where applicable.

    Updating properties can be done only for local items that are unpacked. For example, a mobile map package file (.mmpk) can be unpacked using MobileMapPackage::unpackAsync. Once unpacked, local items within the package can be updated - see MobileMapPackage::item and for maps use Map::item.

    As well as packages, the local item available from an item resource cache can be updated. This is accessed ItemResourceCache::item.

    If the package is not unpacked, the task will return an error.

    This function was introduced in Esri::ArcGISRuntime 100.4.

    See also PortalItem and LocalItem.

    [signal, since Esri::ArcGISRuntime 100.4] void Item::updateItemPropertiesCompleted(bool success, const QString &itemId)

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

    Signal emitted when the asynchronous updateItemProperties method completes.

    success - Whether the update was successful. itemId - The ID of the Item that was updated.

    This function was introduced in Esri::ArcGISRuntime 100.4.

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