# clearCache Source: https://www.nianticspatial.com/docs/api/kotlin/com.nianticspatial.nsdk.playback.PlaybackCacheSession.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. ---