Skip to main content
API Reference SwiftyNsdk NsdkVpsSession

trackAnchor

Requests to start tracking an anchor specified by a payload....

Declaration

func trackAnchor(payload: String) throws -> NsdkVpsAnchorId

Summary

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 anchorPayload(anchorId:)
for user-generated anchors.
- Parameter payload: Base64-encoded anchor payload
- Returns: The unique identifier of the anchor encoded in the payload
- Throws: NsdkError.invalidArgument if the payload is not valid.


ON THIS PAGE