Retrieves a previously cached object (file) from the OBLAC box or native app cache.
When running in an Electron app, it uses the native API to get the cached file, otherwise it fetches from a local cache HTTP path.
A promise that resolves to the cached object in the specified format, or undefined if the file could not be retrieved.
undefined
The path to the cached object within the box or app cache.
The format to resolve the fetched object to: 'blob', 'json', or 'text'.
'blob'
'json'
'text'
Generated using TypeDoc
Retrieves a previously cached object (file) from the OBLAC box or native app cache.
When running in an Electron app, it uses the native API to get the cached file, otherwise it fetches from a local cache HTTP path.
Returns
A promise that resolves to the cached object in the specified format, or
undefined
if the file could not be retrieved.