Skip to main content
←API Reference ←com.nianticspatial.nsdk.vps2 ←Vps2Session

getAnchorUpdate

Gets the latest tracking update for a specified anchor.

Declaration​

fun getAnchorUpdate(anchorId: UUID): AnchorUpdate

Summary​

Gets the latest tracking update for a specified anchor.

Returns​

The latest update for the anchor with the id anchorId.

Throws​

  • NsdkInvalidArgumentStatusException — if no anchor with the id anchorId has been created or added for tracking.