Skip to main content
Version: 3.0

struct ARLocationTrackedEventArgs

(Niantic.Lightship.AR.PersistentAnchors.ARLocationTrackedEventArgs)

Overview

Event arguments for the ARLocationManager.locationTrackingStateChanged event.

struct ARLocationTrackedEventArgs {
// properties

ARLocation ARLocation;
bool Tracking;

// methods

ARLocationTrackedEventArgs(ARLocation arARLocation, bool tracking);
};

Detailed Documentation

Event arguments for the ARLocationManager.locationTrackingStateChanged event.

Properties

ARLocation

ARLocation ARLocation

The ARLocation being tracked

Tracking

bool Tracking

Whether or not the ARLocation is currently tracked

Methods

ARLocationTrackedEventArgs

ARLocationTrackedEventArgs(ARLocation arARLocation, bool tracking)

Creates the args for ARLocation tracking

    Parameters:

    arARLocation - The ARLocation to track

    tracking - Whether or not the ARLocation is being tracked