interface ILocationService (Niantic.ARDK.LocationService.ILocationService)

Overview

An object that manages location updates from the device. More…

interface ILocationService {
    // events

    event CompassUpdated();
    event LocationUpdated();
    event StatusUpdated();
};

// direct descendants

class SpoofLocationService;
class UnityLocationService;

Detailed Documentation

An object that manages location updates from the device.

Events

event CompassUpdated()

Informs subscribers when there is an update to the device’s compass.

event LocationUpdated()

Informs subscribers when there is an update to the device’s location.

event StatusUpdated()

Informs subscribers when the session status changes.