Skip to main content
←API Reference ←com.nianticspatial.nsdk.playback

PlaybackOpenError

Why [PlaybackDataset.open] with a scan ID failed.

Declaration​

enum class PlaybackOpenError

Cases​

NameTypeSummary
ACCESS_DENIEDACCESS_DENIED
The session's user may not read the scan.
CANCELLEDCANCELLED
The open was cancelled.
EXTRACTION_FAILEDEXTRACTION_FAILED
The recording could not be extracted, or has no capture.json.
NETWORKNETWORK
The portal could not be reached, or answered with a server error.
NOT_AUTHENTICATEDNOT_AUTHENTICATED
The session has no valid token, or the portal rejected it.
NOT_FOUNDNOT_FOUND
The portal has no scan with this ID. The portal may also report a scan the user cannot
access this way.
NOT_READYNOT_READY
The scan's recording is not validated yet.
NO_PLAYBACK_FILENO_PLAYBACK_FILE
The scan has no validation recording that can play.
NO_SESSIONNO_SESSION
No [com.nianticspatial.nsdk.NSDKSession] is active. Opening, deleting and clearing use the
active session, and fail with this even for a cached scan.
OPEN_FAILEDOPEN_FAILED
The extracted recording could not be opened as a dataset.
SESSION_ENDEDSESSION_ENDED
The session the open started on was closed before it finished.
SIZE_MISMATCHSIZE_MISMATCH
The download's size differs from the size the portal reported.