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