PlaybackOpenError
Why opening a scan's recording failed.
Declaration
enum PlaybackOpenErrorCases
| Name | Type | Summary |
|---|---|---|
| case accessDenied | accessDenied | The session's user may not read the scan. |
| case cancelled | cancelled | The open was cancelled. |
| case extractionFailed | extractionFailed | The recording could not be extracted, or has no capture.json. |
| case network | network | The portal could not be reached, or answered with a server error. |
| case noPlaybackFile | noPlaybackFile | The scan has no validation recording that can play. |
| case noSession | noSession | No NSDKSession is active. The static PlaybackDataset open(scanId:), deleteCachedand clearCache use the active, most recently created session, and fail with this evenfor a cached scan. |
| case notAuthenticated | notAuthenticated | The session has no valid token, or the portal rejected it. |
| case notFound | notFound | The portal has no scan with this ID. The portal may also report a scan the user cannot access this way. |
| case notReady | notReady | The scan's recording is not validated yet. |
| case openFailed | openFailed | The extracted recording could not be opened as a dataset. |
| case sessionEnded | sessionEnded | The NSDKSession was released or its playback cache session was destroyed. |
| case sizeMismatch | sizeMismatch | The download's size differs from the size the portal reported. |
Properties
| Name | Type | Summary |
|---|---|---|
| var localizedDescription | String | Retrieve the localized description for this error. |
Operators
| Name | Type | Summary |
|---|---|---|
| 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 != bimplies 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