# deleteCached Source: https://www.nianticspatial.com/docs/api/swift/NSDK.PlaybackDataset.method-deleteCached/ deleteCached --- ## Declaration @MainActor static func deleteCached(scanId: String) throws #### Summary Deletes a scan's cached recording through the active NSDKSession's playback cache; see NSDKPlaybackCacheSession.deleteCached(scanId:). #### Throws PlaybackOpenError.noSession if no session is active, and otherwise what NSDKPlaybackCacheSession.deleteCached(scanId:) throws. ### Parameters | Name | Type | Summary | | --- | --- | --- | | scanId | String | - | ---