enum LocationServiceStatus (Niantic.ARDK.LocationService.LocationServiceStatus)

Overview

Describes location session status. More…

enum LocationServiceStatus {
    Stopped,
    Initializing,
    Running,
    PermissionFailure,
    DeviceAccessError,
    UnknownError,
};

Detailed Documentation

Describes location session status.

Enum Values

Stopped

Location service is not active.

Initializing

Location service has been activated, but is not yet running.

Running

Location service is running, and location can be queried.

PermissionFailure

Location service failed to initialize, due to the user denying app permission to device’s location service.

DeviceAccessError

Location service failed to initialize, due to user disabling location services at a device level.

UnknownError

Unknown reason for Unity’s location service failure.