Struct AssetCacheConfiguration
Sets the cache configuration for an asset.
Assembly: Unity.Cloud.Assets.dll
Syntax
public struct AssetCacheConfiguration
Properties
CacheDatasetList
Whether to cache the list of datasets of the asset.
Declaration
public bool CacheDatasetList { readonly get; set; }
Property Value
Whether to cache the metadata of the asset.
Declaration
public bool CacheMetadata { readonly get; set; }
Property Value
Which subset of metadata field keys to cache. Will apply to Asset, Dataset, and File Metadata.
Declaration
public IEnumerable<string> CacheMetadataFieldKeys { readonly get; set; }
Property Value
CachePreviewUrl
Whether to cache the preview URL of the asset.
Declaration
public bool CachePreviewUrl { readonly get; set; }
Property Value
CacheProperties
Whether to cache the properties of the asset.
Declaration
public bool CacheProperties { readonly get; set; }
Property Value
Whether to cache the system metadata of the asset.
Declaration
public bool CacheSystemMetadata { readonly get; set; }
Property Value
Which subset of system metadata field keys to cache. Will apply to Asset, Dataset, and File System Metadata.
Declaration
public IEnumerable<string> CacheSystemMetadataFieldKeys { readonly get; set; }
Property Value
DatasetCacheConfiguration
Defines the cache configuration for datasets retrieved from the IAsset
.
Declaration
public DatasetCacheConfiguration DatasetCacheConfiguration { readonly get; set; }
Property Value
NoCaching
Declaration
public static AssetCacheConfiguration NoCaching { get; }
Property Value
Methods
Equals(object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
object |
obj |
|
Returns
Overrides
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides