Skip to main content
API Reference NSDK NSDKVps2Session

anchorUpdate

Gets the latest tracking update for a specified anchor....

Declaration

func anchorUpdate(anchorId: NSDKVpsAnchorId) -> VpsAnchorUpdate?

Summary

Gets the latest tracking update for a specified anchor.
Call this for one-shot queries. For ongoing per-frame updates, subscribe to
anchorUpdated instead.
- Precondition: anchorId must be exactly 32 characters long.
- Parameter anchorId: The unique identifier of a tracked anchor.
- Returns: The latest anchor update, or nil if the anchor ID is not recognized.