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

CaptureRoot

Root structure for the capture JSON file. Required fields per spec; optional may be null.

Declaration​

data class CaptureRoot

Constructors​

constructor(formatVersion: String, uuid: String, timestamp: Double, coordinates: String, imageFormat: String, resolution: List<Int>, model: String? = null, manufacturer: String? = null, app: String? = null, frames: List<FrameMetadata>, autofocus: Int? = null, duration: Double? = null, frameCount: Int? = null, framerate: Double? = null, imageQuality: Int? = null, metadata: CaptureMetadata? = null, recorder: String? = null, timezone: Int? = null, depthFormat: String? = null, depthSource: String? = null, captureDepthType: String? = null, compassTimestampBase: String? = null)

Parameters​

NameTypeSummary
formatVersionString
-
uuidString
-
timestampDouble
-
coordinatesString
-
imageFormatString
-
resolutionList<Int>
-
modelString?
-
manufacturerString?
-
appString?
-
framesList<FrameMetadata>
-
autofocusInt?
-
durationDouble?
-
frameCountInt?
-
framerateDouble?
-
imageQualityInt?
-
metadataCaptureMetadata?
-
recorderString?
-
timezoneInt?
-
depthFormatString?
-
depthSourceString?
-
captureDepthTypeString?
-
compassTimestampBaseString?
-

Properties​

NameTypeSummary
appString?
-
autofocusInt?
-
captureDepthTypeString?
-
compassTimestampBaseString?
-
coordinatesString
-
depthFormatString?
-
depthSourceString?
-
durationDouble?
-
formatVersionString
-
frameCountInt?
-
framerateDouble?
-
framesList<FrameMetadata>
-
imageFormatString
-
imageQualityInt?
-
manufacturerString?
-
metadataCaptureMetadata?
-
modelString?
-
recorderString?
-
resolutionList<Int>
-
timestampDouble
-
timezoneInt?
-
uuidString
-