Skip to main content
←API Reference ←NSDK ←NSDKPlaybackCacheSession

isCached


Declaration​

func isCached(scanId: String) throws -> Bool

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​

  • PlaybackOpenError.sessionEnded once the NSDKSession is released.

Parameters​

NameTypeSummary
scanIdString
-