Skip to main content
←API Reference ←com.nianticspatial.nsdk.vps2 ←Vps2Session

getLatestLocalization


Declaration​

fun getLatestLocalization(): Vps2Localization

Summary​

Gets the most recent VPS2 localization result.


The returned localization contains the spatial mapping between the device's AR tracking
space and real-world geolocation: a transform from the tracking space origin to a geographic
reference point. It is not relative to the current camera pose. Pass it to getPose to
convert geolocations to AR poses.