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

deleteCached


Declaration​

fun deleteCached(scanId: String)

Summary​

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

Throws​

  • PlaybackOpenException — with PlaybackOpenError.SESSION_ENDED once this session ends.
  • com.nianticspatial.nsdk.NsdkInvalidOperationStatusException — while this session is opening the scan.
  • com.nianticspatial.nsdk.NsdkInvalidArgumentStatusException — if scanId is malformed.

Parameters​

NameTypeSummary
scanIdString
-