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

DashcamSaveResult

Result of a dashcam save operation.

Declaration​

data class DashcamSaveResult

See also​

  • DashcamSession.getSaveResult
  • DashcamSaveState

Constructors​

Constructor​

constructor(savePath: String?, archivePath: String?, state: DashcamSaveState)

Parameters​

NameTypeSummary
savePathString?
Path to the saved V2 sequence directory (valid when state == SAVED). May be null if not yet available or save failed.
archivePathString?
Path to the exported .tgz archive (valid when state == SAVED). May be null if not yet available or save failed.
stateDashcamSaveState
The current state of the save operation.

Overload​

constructor(savePath: String?, archivePath: String?, stateValue: Int)

Summary​

Secondary constructor for JNI integration.

Parameters​

NameTypeSummary
savePathString?
The path where the dashcam data was saved. May be null.
archivePathString?
The path to the exported .tgz archive. May be null.
stateValueInt
The save state as an integer value from the native layer.

Properties​

NameTypeSummary
archivePathString?
Path to the exported .tgz archive (valid when state == SAVED). May be null if not yet available or save failed.
savePathString?
Path to the saved V2 sequence directory (valid when state == SAVED). May be null if not yet available or save failed.
stateDashcamSaveState
The current state of the save operation.