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

stopLocalize


Declaration​

fun stopLocalize(siteId: String? = null)

Summary​

Stops localizing against previously requested sites.


Unregisters the site's assets, removes their anchors, and removes the map data they
seeded. Call it before stop so the site's maps are not localization targets after a
later start. Requests for the site still in progress are cancelled, and their records end
as Vps2LocalizationRequestStatus.FAILED.

Parameters​

NameTypeSummary
siteIdString?
The site to stop localizing to, or null (the default) to stop every site requested in this session.