Show / Hide Table of Contents

Class ItemResourceCache

A class that contains information on offline resources typically associated with a custom style for an ArcGISVectorTiledLayer.

Inheritance
Object
ItemResourceCache
Implements
ILoadable
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Object.ToString()
Namespace: Esri.ArcGISRuntime.Mapping
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class ItemResourceCache : ILoadable
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.

Constructors

Name Description
ItemResourceCache(String)

Initializes a new instance of the ItemResourceCache class from the specified cache path.

Properties

Name Description
Item

Gets the LocalItem containing the item resource cache's thumbnail and metadata.

LoadError

Gets the Exception associated with the last load error.

LoadStatus

Gets the load status.

Path

Gets the path to the on-disk location containing the ItemResourceCache.

Methods

Name Description
CancelLoad()

Cancel loading metadata for the object.

CreateAsync(String)

Creates and loads a new instance of the ItemResourceCache class from the specified path.

LoadAsync()

Load the metadata for the object asynchronously.

RetryLoadAsync()

Loads or retries loading metadata for the object asynchronously.

Events

Name Description
Loaded

Event that is raised when the object is done loading.

LoadStatusChanged

Event that is raised when the LoadStatus property changes.

Applies to

TargetVersions
.NET Standard 2.0100.3 - 100.15
.NET 6.0100.13 - 100.15
.NET 6.0 Windows100.13 - 100.15
.NET Framework100.2.1 - 100.15
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Xamarin.Android100.2.1 - 100.15
Xamarin.iOS100.2.1 - 100.15
UWP100.2.1 - 100.15
In This Article
Back to top Copyright © 2022 Esri.