class WayspotAnchorPayload (Niantic.ARDK.AR.WayspotAnchors.WayspotAnchorPayload)
Overview
The wayspot anchor payload is the container for data used to save and recover wayspot anchors, via the RecoverWayspotAnchor methods. More…
class WayspotAnchorPayload { public: // methods string Serialize(); static WayspotAnchorPayload Deserialize(string data); };
Detailed Documentation
The wayspot anchor payload is the container for data used to save and recover wayspot anchors, via the RecoverWayspotAnchor methods.
Methods
string Serialize()
Serializes the payload into a string that can be stored in external storage for later recovery.
Returns:
The string to save
static WayspotAnchorPayload Deserialize(string data)
Deserializes the previously serialized payload back into a payload.
Parameters:
data |
The string from a previously serialized payload The payload created from the data |