trackAnchor
Requests to start tracking an anchor specified by a payload. A VPS payload contains all the data needed to localize at a VPS-activated location. A default payload for a VPS-activated location can be obtained from the "blob" field in the details view of an entry in the Geospatial Browser, or via [getAnchorPayload] for user-generated anchors. The anchor will automatically be added to tracked anchors and will emit updates through the [anchorUpdates] Flow.
Declaration
Summary
Returns
The unique identifier of the anchor encoded in the payload
Requests to start tracking an anchor specified by a payload. A VPS payload contains all the data needed to localize at a VPS-activated location. A default payload for a VPS-activated location can be obtained from the "blob" field in the details view of an entry in the Geospatial Browser, or via [getAnchorPayload] for user-generated anchors. The anchor will automatically be added to tracked anchors and will emit updates through the [anchorUpdates] Flow.