class WayspotAnchorController (Niantic.ARDK.AR.WayspotAnchors.WayspotAnchorController)

Overview

class WayspotAnchorController: Niantic.ARDK.AR.WayspotAnchors.WayspotAnchorControllerBase {
public:
    // methods

    virtual override void StartVps(IWayspotAnchorsConfiguration wayspotAnchorsConfiguration);
    WayspotAnchorController(IARSession arSession, ILocationService locationService);
};

Inherited Members

public:
    // fields

    ArdkEventHandler<LocalizationStateUpdatedArgs> LocalizationStateUpdated;
    ArdkEventHandler<WayspotAnchorsCreatedArgs> WayspotAnchorsCreated;
    ArdkEventHandler<WayspotAnchorStatusUpdatedArgs> WayspotAnchorStatusUpdated;
    ArdkEventHandler<WayspotAnchorsResolvedArgs> WayspotAnchorsTrackingUpdated;

    // methods

    Guid[] CreateWayspotAnchors(params Matrix4x4[] localPoses);
    void PauseTracking(params IWayspotAnchor[] wayspotAnchors);
    IWayspotAnchor[] RestoreWayspotAnchors(params WayspotAnchorPayload[] wayspotAnchorPayloads);
    void ResumeTracking(params IWayspotAnchor[] wayspotAnchors);
    virtual void StartVps(IWayspotAnchorsConfiguration wayspotAnchorsConfiguration);
    void StopVps();

Detailed Documentation

Methods

virtual override void StartVps(IWayspotAnchorsConfiguration wayspotAnchorsConfiguration)

Starts the visual position system.

Parameters:

wayspotAnchorsConfiguration

The configuration to start VPS with

WayspotAnchorController(IARSession arSession, ILocationService locationService)

Creates a new wayspot anchor API to consume.

Parameters:

arSession

The AR session required by the WayspotAnchorController to run VPS.

locationService

The location service required by the WayspotAnchorController to run VPS.