Skip to main content
←API Reference ←NSDK ←NSDKPlaybackCacheSession

playbackFileInfo


Declaration​

func playbackFileInfo(scanId: String) async throws -> PlaybackFileInfo

Summary​

Looks up the recording open(scanId:onProgress:) would play for a scan: its frame count,
size and duration as the portal lists them, before anything is downloaded.

Throws​

  • PlaybackOpenError if the lookup fails: .notAuthenticated, .accessDenied, .notFound, .noPlaybackFile, .notReady, .network, or .sessionEnded once the NSDKSession is released; NSDKError.invalidArgument if scanId is malformed; CancellationError if the calling Task was cancelled.

Parameters​

NameTypeSummary
scanIdString
The portal scan ID.