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

isCached


Declaration​

fun isCached(scanId: String): Boolean

Summary​

Whether a scan's recording is fully downloaded and extracted in the cache; false while it is
still downloading, and for a malformed scanId. Two file-system checks and no network call,
from any thread.

Throws​

  • PlaybackOpenException — with PlaybackOpenError.SESSION_ENDED once this session ends.

Parameters​

NameTypeSummary
scanIdString
-