ItemResourceCache QML Type

Contains information on offline resources, typically associated with a custom style for an ArcGISVectorTiledLayer. More...

Import Statement: import Esri.ArcGISRuntime 100.15
Since: Esri.ArcGISRuntime 100.2
Inherits:

Object

Properties

Signals

Detailed Description

For example, a vector tile layer has style resources such as fonts and sprites.

See also Loadable.

Property Documentation

item : LocalItem

Returns the local item for the item resource cache (read-only).

This property can be a null if the LocalItem is not present within the ItemResourceCache directory. If the ItemResourceCache was taken offline using ExportVectorTilesTask or OfflineMapTask, the LocalItem will be populated from the online PortalItem. If the ItemResourceCache was created inside a MobileMapPackage authored from ArcGIS Pro, then this property will return a nullptr.


loadError : Error

Returns the load error (read-only).

Load errors are also reported on the error property and emit the errorChanged signal.

See also Loadable.


loadStatus : Enums.LoadStatus

Returns the load status enumeration (read-only).

See also Loadable and Enums.LoadStatus.


path : url

A the path to the on-disk location containing this item resource cache.

The path can be a directory on disk that contains the ItemResourceCache. Alternatively, if the ItemResourceCache was loaded from a package file, such as a MobileMapPackage, the path is to the package.


Signal Documentation

itemChanged()

Emitted when the item property changes.

Note: The corresponding handler is onItemChanged.


loadErrorChanged()

Emitted when the loadError property of the resource cache changes.

Load errors are also reported on the error property and emit the errorChanged signal.

Note: The corresponding handler is onLoadErrorChanged.

See also Loadable and Object.


loadStatusChanged()

Emitted when the loadStatus property of the resource cache changes.

Note: The corresponding handler is onLoadStatusChanged.

See also Loadable.


pathChanged()

Emitted when the path property changes.

Note: The corresponding handler is onPathChanged.


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