Skip to main content
←API Reference ←NSDK ←NSDKVps2Session

stopLocalize


Declaration​

func stopLocalize(siteId: String? = nil) throws

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 localization request records end as failed.

Throws​

  • An NSDKError if the native call fails unexpectedly.

Parameters​

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