Skip to main content
←API Reference ←NSDK

Vps2LocalizationError

Possible errors from VPS localization operations.

Declaration​

enum Vps2LocalizationError

Cases​

NameTypeSummary
case assetsNotFoundassetsNotFound
The site was found but has no assets to localize against: either none of the
requested asset ids are in it, or the matching assets were not localizable.
case authFailureauthFailure
The API gateway rejected the request due to an authentication or authorization failure.
case badCameraAnglebadCameraAngle
The frame was rejected because the camera is pointing at the ground or sky (no horizon crossing).
case badNetworkConnectionbadNetworkConnection
The device cannot connect to the server.
case badTrackingbadTracking
The frame was rejected because tracking state is not normal.
case deviceUpsideDowndeviceUpsideDown
The frame was rejected because the device was held upside down.
case imageTooBlurryimageTooBlurry
The frame was flagged because the image was too blurry or featureless to localize well.
Advisory: the frame is still sent; use this to coach the user, not to explain a drop.
case internalClientinternalClient
The server response could not be parsed by the client.
case internalServerinternalServer
The server encountered an internal error while processing the request.
case localizationFailedlocalizationFailed
The server processed the request but localization failed.
case noMapFoundnoMapFound
The server could not find a map near the request GPS location.
case nonenone
No error has occurred.
case noValidPriornoValidPrior
The frame was rejected before dispatch because no valid geolocation prior was available
(the GPS reading was NaN or a placeholder and no other valid prior could be substituted).
case permissionDeniedpermissionDenied
The server denied permission for the request.
case quotaExceededquotaExceeded
The API gateway rejected the request because the account or project quota was exceeded (HTTP 429).
case requestsLimitExceededrequestsLimitExceeded
The request rate limit has been exceeded.
case siteNotFoundsiteNotFound
The requested site does not exist or is not accessible to this caller.
case unknownunknown
An unknown error occurred.

Operators​

NameTypeSummary
static func != Bool
Returns a Boolean value indicating whether two values are not equal.
Inequality is the inverse of equality. For any values a and b, a != b
implies that a == b is false.
This is the default implementation of the not-equal-to operator (!=)
for any type that conforms to Equatable.

Relationships​

conforms to: Swift.Equatable
conforms to: Swift.Hashable