Skip to main content

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

removeAnchor

[androidJvm]
fun removeAnchor(uuid: UUID)

Request to stop tracking an anchor.

Once removed, the anchor will no longer receive updates or consume processing resources.

Parameters​

androidJvm

uuidThe unique identifier of the anchor to remove

See also​

VPSSession.trackAnchor
VPSSession.createAnchor

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.