Skip to main content
←API Reference ←NSDK ←NSDKPlaybackCacheSession

clearCache


Declaration​

func clearCache() throws

Summary​

Deletes every cached scan recording. The cache does not track datasets it has returned:
close every dataset opened from a scan first.

Throws​

  • PlaybackOpenError.sessionEnded once the NSDKSession is released; .invalidOperation while opening any scan; .unknown if it could not be removed.