# deleteCached Source: https://www.nianticspatial.com/docs/api/kotlin/com.nianticspatial.nsdk.playback.PlaybackCacheSession.deleteCached/ deleteCached --- ## Declaration fun deleteCached(scanId: String) #### Summary Deletes a scan's cached recording. The cache does not track datasets it has returned: close every dataset opened from the scan first. #### Throws PlaybackOpenException -- with PlaybackOpenError.SESSION_ENDED once this session ends. com.nianticspatial.nsdk.NsdkInvalidOperationStatusException -- while this session is opening the scan. com.nianticspatial.nsdk.NsdkInvalidArgumentStatusException -- if scanId is malformed. ### Parameters | Name | Type | Summary | | --- | --- | --- | | scanId | String | - | ---