Skip to main content
←API Reference ←NSDK ←NSDKVps2Session

removeAnchor


Declaration​

@discardableResult func removeAnchor(withId anchorId: NSDKVpsAnchorId) -> Bool

Summary​

Stops tracking an anchor.
Once removed, the anchor will no longer receive updates or consume processing resources.
This removes one of the app's own anchors. It is not how localization to a map is
stopped: use stopLocalize(siteId:) to drop a site's assets from the localization
targets.

Returns​

true if the anchor was removed, false if no anchor with that ID exists.

Notice

Precondition: anchorId must be exactly 32 characters long.

Parameters​

NameTypeSummary
anchorIdNSDKVpsAnchorId
The unique identifier of the anchor to remove.