enum LocalizationFailureReason (Niantic.ARDK.AR.WayspotAnchors.LocalizationFailureReason)

Overview

Failure reasons for a failed localization. More...

enum LocalizationFailureReason {
    None                              = 0,
    Unknown                           = 1,
    Timeout                           = 2,
    Canceled                          = 3,
    InvalidEndpoint                   = 4,
    CannotConnectToServer             = 5,
    BadRequest                        = 6,
    BadResponse                       = 7,
    BadIdentifier                     = 8,
    LocationDataNotAvailable          = 9,
    NotSupportedAtLocation            = 10,
    InternalServerFailure             = 11,
    InvalidAPIKey                     = 12,
    Unauthenticated                   = 13,
    MaxRequestsPerSecondLimitExceeded = 14,
};

Detailed Documentation

Failure reasons for a failed localization.

See also:

Working with the Visual Positioning System (VPS)

Enum Values

None

No failure, no reason.

Unknown

Failure, unknown reasons.

Timeout

Failure, couldn't localize within the specified timeout period, likely because the user's world tracking was unstable or the user was not looking at a localize-able target.

Canceled

Canceled, because StopLocalization was called.

CannotConnectToServer

Failure to connect to localization service.

BadRequest

Failure, localization service rejected the client request.

BadResponse

Failure, client rejected the localization service response.

BadIdentifier

Failure, Identifier is invalid.

LocationDataNotAvailable

Failure, Location permissions were not granted by the user, or no location service was started by the app.

NotSupportedAtLocation

Failure, based on GPS information, system determined localization was not possible.