Astra Unity 2.6.6
Astra Unity Plugin
Astra.AstraCache Class Reference

Functionality for dealing with the content cache Astra maintains More...

Static Public Member Functions

static float GetCacheSizeMB ()
 Gets the current size of the cache of content in MB More...
 
static bool ClearCache ()
 Clears the cache of content maintained by the Astra SDK More...
 
static void ClearReferences ()
 Clean up all references to objects which are set up for rapid caching
 
static bool CacheExists ()
 Returns true if the cache file exists at the default location. False otherwise.
 
static string GetCacheFilePath ()
 Returns the path to the default cache file. This can be used for precaching or to wipe the cache file. Note that if you aren't using the default cache file location, this function doesn't return the non-default path location. The application will need to access the cache file using it's own path separately.
 

Detailed Description

Functionality for dealing with the content cache Astra maintains

Member Function Documentation

◆ ClearCache()

static bool Astra.AstraCache.ClearCache ( )
inlinestatic

Clears the cache of content maintained by the Astra SDK

Returns
Whether the clear option was successful

◆ GetCacheSizeMB()

static float Astra.AstraCache.GetCacheSizeMB ( )
inlinestatic

Gets the current size of the cache of content in MB

Returns
The size of the cache in MB

The documentation for this class was generated from the following file: