Skip to main content
←API Reference ←NianticSpatial.NSDK.AR.VPS2 ←ARVps2Manager

TryStopLocalize

Stops localizing against previously requested sites.

Declaration​

public bool TryStopLocalize(string siteId = null)

Summary​

Stops localizing against previously requested sites.

Remarks​

Unregisters the site's assets, removes their anchors, and removes the map data
they seeded. Call it before this manager is disabled so the site's maps are
not localization targets when the session starts again.
Requests for the site still in progress are cancelled, and their localization
request records end as failed.

Returns​

true if the request was dispatched; otherwise false.

Parameters​

NameTypeSummary
siteIdstring
The site to stop localizing to, or null for every
site requested in this session.