Skip to main content
←API Reference ←com.nianticspatial.nsdk.playback ←PlaybackCacheSession

clearCache


Declaration​

fun clearCache()

Summary​

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

Throws​

  • PlaybackOpenException — with PlaybackOpenError.SESSION_ENDED once this session ends.
  • com.nianticspatial.nsdk.NsdkInvalidOperationStatusException — while this session is opening any scan.