Skip to main content
←API Reference ←NSDK ←NSDKVps2Session

start


Declaration​

func start()

Summary​

Starts the VPS2 session.
This begins collecting local device sensor data required for localization. Universal
localization does not run by default (see Configuration/universalLocalizationEnabled for
more details on enabling Universal localization). To localize against VPS maps,
call localize(siteId:) or localize(latitude:longitude:radiusMeters:).
Optional: localize(siteId:) and localize(latitude:longitude:radiusMeters:) start
the session themselves. Call this to begin collecting sensor data before any localization
target is known, or to resume after stop(). Calling it while the session is already
active has no effect.