Class ItemResourceCache
Contains information about the offline resources typically associated with a custom style of an ArcGISVectorTiledLayer.
Inheritance
Implements
Namespace: Esri.ArcGISRuntime.Mapping
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class ItemResourceCache : ILoadable
Remarks
For example, an ArcGIS vector tile layer can have style resources, such as fonts and sprites.
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 System.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
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.2.1 - 200.5 |
Xamarin.Android | 100.2.1 - 100.15 |
Xamarin.iOS | 100.2.1 - 100.15 |
UWP | 100.2.1 - 200.5 |