Skip to main content
←API Reference ←NianticSpatial.NSDK.AR.XRSubsystems ←XRVps2Subsystem

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 the subsystem stops so the site's maps are not
localization targets across a later start.
Requests for the site still in progress are cancelled, and their localization
request records end as failed.

Returns​

True if the request was dispatched.

Parameters​

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