# DeleteCached Source: https://www.nianticspatial.com/docs/api/unity/NianticSpatial.NSDK.AR.Subsystems.Playback.PlaybackCacheClient.DeleteCached/ DeleteCached Deletes the scan's cached recording. Close every dataset opened from the scan first. --- ## Declaration public void DeleteCached(string scanId) #### Summary Deletes the scan's cached recording. Close every dataset opened from the scan first. #### Throws InvalidOperationException -- The scan is being opened. ArgumentException -- scanId is empty or not a valid scan ID. ### Parameters | Name | Type | Summary | | --- | --- | --- | | scanId | string | The scan whose recording to delete. | ---