UnitySwiftKotlinReading this with an AI agent?Read this page as plain text instead: https://www.nianticspatial.com/docs/llms-api-kotlin/com.nianticspatial.nsdk.playback.PlaybackCacheSession.clearCache.txt — same content, easier to parse than this HTML.Every page in the current release follows the same pattern, so you can build the URL directly instead of fetching an index: a page at /api/kotlin/<page>/ is at /llms-api-kotlin/<page>.txt.For every page in this section, read https://www.nianticspatial.com/docs/llms-api-kotlin.txt; for every section of these docs, read https://www.nianticspatial.com/docs/llms.txt.←API Reference Return to API Reference index←packagecom.nianticspatial.nsdk.playback com.nianticspatial.nsdk.playback←classPlaybackCacheSession com.nianticspatial.nsdk.playback.PlaybackCacheSession Function clearCache clearCache Declaration fun clearCache() Summary Deletes every cached scan recording. The cache does not track datasets it has returned: close every dataset opened from a scan first. Throws PlaybackOpenException — with PlaybackOpenError.SESSION_ENDED once this session ends.com.nianticspatial.nsdk.NsdkInvalidOperationStatusException — while this session is opening any scan.
Deletes every cached scan recording. The cache does not track datasets it has returned:
close every dataset opened from a scan first.