Skip to main content
API Reference com.nianticspatial.nsdk

WPSError

Represents the current error status of the WPS (World Positioning System) feature. These error codes indicate specific issues that may prevent WPS from providing accurate positioning data. Applications should check for these errors and provide appropriate feedback to users.

Declaration

enum class WPSError

Properties

NameTypeSummary
valueInt
-

Cases

NameTypeSummary
NONENONE
No error - WPS is operating normally.
NOT_INITIALIZEDNOT_INITIALIZED
WPS has not yet finished initializing. This error indicates that the WPS system is still starting up and has not yet gathered sufficient data to provide positioning estimates.
NO_GNSSNO_GNSS
No GPS data has been provided to the system. This error indicates that the device is not receiving GPS/GNSS signals. This may occur indoors or in areas with poor GPS coverage.
NO_HEADINGNO_HEADING
No compass data has been provided to the system. This error indicates that the device is not receiving compass/magnetometer data. This may occur due to magnetic interference or sensor issues.
TRACKING_FAILEDTRACKING_FAILED
WPS tracking has failed. This error indicates that the WPS system was unable to maintain tracking. This may occur due to poor visual conditions or sensor data quality.
UNKNOWN_ERRORUNKNOWN_ERROR
An unknown error occurred.

Relationships

implements: ErrorCodeProvider