Click or drag to resize

ItemResourceCache Class

A class that contains information on offline resources typically associated with a custom style for an ArcGISVectorTiledLayer.
Inheritance Hierarchy
SystemObject
  Esri.ArcGISRuntime.MappingItemResourceCache

Namespace:  Esri.ArcGISRuntime.Mapping
Assembly:  Esri.ArcGISRuntime (in Esri.ArcGISRuntime.dll) Version: 100.7.0.0
Syntax
C#
public sealed class ItemResourceCache : ILoadable

The ItemResourceCache type exposes the following members.

Constructors
  NameDescription
Public methodItemResourceCache
Initializes a new instance of the ItemResourceCache class from the specified cache path.
Top
Properties
  NameDescription
Public propertyItem
Gets the LocalItem containing the item resource cache's thumbnail and metadata.
Public propertyLoadError
Gets the Exception associated with the last load error.
Public propertyLoadStatus
Gets the load status.
Public propertyPath
Gets the path to the on-disk location containing the ItemResourceCache.
Top
Methods
  NameDescription
Public methodCancelLoad
Cancel loading metadata for the object.
Public methodStatic memberCreateAsync
Creates and loads a new instance of the ItemResourceCache class from the specified path.
Public methodLoadAsync
Load the metadata for the object asynchronously.
Public methodRetryLoadAsync
Load or retry loading metadata for the object asynchronously.
Top
Events
  NameDescription
Public eventLoaded
Event that is raised when the object is done loading.
Public eventLoadStatusChanged
Event that is raised when the LoadStatus property changes.
Top
Remarks
An object containing information about resources associated with an ArcGISVectorTiledLayer. For example, a vector tile layer has style resources such as fonts, sprites, etc.
See Also