class PeerSerialization (Niantic.Experimental.ARDK.SharedAR.PeerSerialization)

Note

This is an experimental feature. Experimental features should not be used in production products as they are subject to breaking changes, not officially supported, and may be deprecated without notice

class PeerSerialization {
public:
    // methods

    static byte[] BytesFromColocalizationState(ColocalizationState state);
    static byte[] BytesFromPose(Matrix4x4 pose);
    static ColocalizationState ColocalizationStateFromBytes(MemoryStream stream);
    static string KeyFromPeer(string prefix, IPeerID peer);
    static IPeerID PeerFromKey(string key);
    static Matrix4x4 PoseFromBytes(MemoryStream stream);
};