Skip to main content
←API Reference ←NSDK

PlaybackOpenError

Why opening a scan's recording failed.

Declaration​

enum PlaybackOpenError

Cases​

NameTypeSummary
case accessDeniedaccessDenied
The session's user may not read the scan.
case cancelledcancelled
The open was cancelled.
case extractionFailedextractionFailed
The recording could not be extracted, or has no capture.json.
case networknetwork
The portal could not be reached, or answered with a server error.
case noPlaybackFilenoPlaybackFile
The scan has no validation recording that can play.
case noSessionnoSession
No NSDKSession is active. The static PlaybackDataset open(scanId:), deleteCached
and clearCache use the active, most recently created session, and fail with this even
for a cached scan.
case notAuthenticatednotAuthenticated
The session has no valid token, or the portal rejected it.
case notFoundnotFound
The portal has no scan with this ID. The portal may also report a scan the user cannot
access this way.
case notReadynotReady
The scan's recording is not validated yet.
case openFailedopenFailed
The extracted recording could not be opened as a dataset.
case sessionEndedsessionEnded
The NSDKSession was released or its playback cache session was destroyed.
case sizeMismatchsizeMismatch
The download's size differs from the size the portal reported.

Properties​

NameTypeSummary
var localizedDescriptionString
Retrieve the localized description for this error.

Operators​

NameTypeSummary
static func != Bool
Returns a Boolean value indicating whether two values are not equal.
Inequality is the inverse of equality. For any values a and b, a != b
implies that a == b is false.
This is the default implementation of the not-equal-to operator (!=)
for any type that conforms to Equatable.

Relationships​

conforms to: Swift.Hashable
conforms to: Swift.Error
conforms to: Swift.Equatable
conforms to: Swift.Sendable
conforms to: Swift.SendableMetatype