Skip to main content
API Reference NSDK NSDKVps2Session

getLatestLocalization

Gets a copy of the latest VPS2 localization....

Declaration

func getLatestLocalization() -> Vps2Localization

Summary

Gets a copy of the latest VPS2 localization.
The localization contains all data required to convert between AR space and geolocation.
If VPS2 has not yet localized, the localization's trackingState will be .unavailable
and the other fields should be considered invalid.
For reactive use, subscribe to $latestLocalization instead of calling this directly.
- Returns: The latest VPS2 localization.