Skip to main content

ARDK for Android/com.nianticlabs.ardk.vps/VPSSession/getAnchorUpdate

getAnchorUpdate

[androidJvm]
fun getAnchorUpdate(uuid: UUID): AnchorUpdate

Gets the latest tracking update for a specified anchor.

Call this regularly to get updated anchor poses as the device moves and VPS refines the localization.

Return​

The anchor update

Parameters​

androidJvm

uuidThe unique identifier of an anchor

See also​

VPSSession.trackAnchor
AnchorUpdate

Throws​

ARDKStatusException with code ARDKStatus.invalidArgument if no anchor with the id uuid has been created or added for tracking. Check ARDK's C logs for more information.