UnitySwiftKotlinReading this with an AI agent?Read this page as plain text instead: https://www.nianticspatial.com/docs/llms-api-swift/NSDK.NSDKPlaybackCacheSession.method-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/swift/<page>/ is at /llms-api-swift/<page>.txt.For every page in this section, read https://www.nianticspatial.com/docs/llms-api-swift.txt; for every section of these docs, read https://www.nianticspatial.com/docs/llms.txt.←API Reference Return to API Reference index←packageNSDK NSDK←classNSDKPlaybackCacheSession NSDKPlaybackCacheSession Method clearCache clearCache Declaration func clearCache() throws Summary Deletes every cached scan recording. The cache does not track datasets it has returned: close every dataset opened from a scan first. Throws PlaybackOpenError.sessionEnded once the NSDKSession is released; .invalidOperation while opening any scan; .unknown if it could not be removed.
Deletes every cached scan recording. The cache does not track datasets it has returned:
close every dataset opened from a scan first.