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

class VpsColocalizer: IDisposable {
public:
    // enums

    enum FailureCode;

    // classes

    class OnColocalizationStateChangedArgs;

    // properties

    ArdkEventHandler<OnColocalizationStateChangedArgs> OnColocalizationStateChangedEvent;

    // methods

    bool AlignedPoseToLocal(Matrix4x4 alignedPose, out Matrix4x4 localPose);
    void Dispose();
    Matrix4x4 GetAlignedSpaceOrigin();

    void Initialize(
        INetworking networking,
        IARSession arSessionForWayspotAnchors,
        WayspotAnchorPayload content = null
    );

    bool LocalPoseToAligned(Matrix4x4 localPose, out Matrix4x4 alignedPose);
    void StartColocalization();
    VpsColocalizer(IVpsColocalizerNativeInterface colocalizerInterface = null);
};