Reading this with an AI agent?
Read this page as plain text instead: https://www.nianticspatial.com/docs/llms-api-swift/NSDK.PlaybackDataset.struct-LocationMetadata.txt — same content, easier to parse than this HTML, with each platform's steps kept separate.
Every page in the current release follows the same pattern, so you can build the URL directly instead of fetching an index: a page at /api/swift/<page>/ is at /llms-api-swift/<page>.txt.
For every page in this section, read https://www.nianticspatial.com/docs/llms-api-swift.txt ; for every section of these docs, read https://www.nianticspatial.com/docs/llms.txt .
Struct LocationMetadata LocationMetadataLocation 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
Properties
Name Type Summary let altitude Read-only access Double ? let altitudeAccuracy Read-only access Double ? let heading Read-only access Double ? let headingAccuracy Read-only access Double ? let headingTimestamp Read-only access Double ? let latitude Read-only access Double ? let longitude Read-only access Double ? let positionAccuracy Read-only access Double ? let positionTimestamp Read-only access Double ?
Relationships
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.