Skip to main content
API Reference SwiftyNsdk NsdkWpsSession

latestLocation

Gets the transform of the latest geolocation estimate....

Declaration

func latestLocation() -> Result<WpsLocation, WpsError>

Summary

Gets the transform of the latest geolocation estimate.
This exposes the low level data that can be used to pin geolocated content into the AR
coordinate system. To retrieve simplified device specific coordinates and heading, see
devicePoseAsGeolocation(_:).
- Note: An NsdkError.invalidOperation if the session is not started.
- Returns: The location transform, if available, or an error code otherwise.


ON THIS PAGE