Skip to main content
API Reference NSDK PlaybackDataset

CaptureRoot

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

Declaration

struct CaptureRoot

Constructors

init(from decoder: any Decoder) throws

Summary

Creates a new instance by decoding from the given decoder.
This initializer throws an error if reading from the decoder fails, or
if the data read is corrupted or otherwise invalid.
- Parameter decoder: The decoder to read data from.


Properties

NameTypeSummary
let appString?
-
let autofocusInt?
-
let coordinatesString
-
let depthFormatString?
-
let depthSourceString?
-
let durationDouble?
-
let formatVersionString
-
let frameCountInt?
-
let framerateDouble?
-
let frames [FrameMetadata]
-
let imageFormatString
-
let imageQualityInt?
-
let manufacturerString?
-
let metadataCaptureMetadata?
-
let modelString?
-
let recorderString?
-
let resolution [Int]
-
let timestampDouble
-
let timezoneInt?
-
let uuidString
-

Relationships

conforms to: Swift.Decodable
conforms to: Swift.Encodable