# DeleteCached Source: https://www.nianticspatial.com/docs/api/unity/NianticSpatial.NSDK.AR.Subsystems.Playback.PlaybackDataset.DeleteCached/ DeleteCached --- ## Declaration public static void DeleteCached(string scanId) #### Summary Deletes the scan's cached recording from the running NSDK session's playback cache. Close every dataset opened from the scan first. #### Throws InvalidOperationException -- NSDK is not initialized, or 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. | ---