LocationMetadata
Location metadata structure
Declaration
struct LocationMetadataConstructors
init(from decoder: any Decoder) throws
Summary
Properties
| Name | Type | Summary |
|---|---|---|
| let altitude | Double | - |
| let altitudeAccuracy | Double | - |
| let heading | Double | - |
| let headingAccuracy | Double | - |
| let headingTimestamp | Double | - |
| let latitude | Double | - |
| let longitude | Double | - |
| let positionAccuracy | Double | - |
| let positionTimestamp | Double | - |
Relationships
conforms to: Swift.Decodable
conforms to: Swift.Encodable
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.