# playbackFileInfo Source: https://www.nianticspatial.com/docs/api/swift/NSDK.NSDKPlaybackCacheSession.method-playbackFileInfo/ 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 | Name | Type | Summary | | --- | --- | --- | | scanId | String | The portal scan ID. | ---