Skip to main content
API Reference NSDK NSDKVps2Session

removeAnchor

Stops tracking an anchor....

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.
- Precondition: anchorId must be exactly 32 characters long.
- Parameter anchorId: The unique identifier of the anchor to remove.
- Returns: true if the anchor was removed, false if no anchor with that ID exists.