Skip to main content
API Reference NSDK PlaybackDataset

LocationMetadata

Location metadata structure. All fields are optional so various capture formats (2D-only GPS, no compass, minimal logs) decode without keyNotFound.

Declaration

struct LocationMetadata

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 altitudeDouble?
-
let altitudeAccuracyDouble?
-
let headingDouble?
-
let headingAccuracyDouble?
-
let headingTimestampDouble?
-
let latitudeDouble?
-
let longitudeDouble?
-
let positionAccuracyDouble?
-
let positionTimestampDouble?
-

Relationships

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