Skip to main content
API Reference NSDK VpsAnchorUpdate AnchorTrackingState

Reason

Provides additional context about why an anchor is in either the notTracked...

Declaration

enum Reason

Summary

Provides additional context about why an anchor is in either the notTracked or limited tracking states.


Cases

NameTypeSummary
case fatalNetworkErrorfatalNetworkError
An unrecoverable network error has occured. Check the session's featureStatus for
more information.
case initializinginitializing
The anchor is still being initialized.
case internalErrorinternalError
An unexpected internal error has occured.
case noVisualLocalizationnoVisualLocalization
The device is not localized to the VPS location/map that this anchor belongs to, but
coarse localization has been achieved through some other method(s).
case permissionDeniedpermissionDenied
The anchor is part of a private VPS location that this application does not have
authorization to access.
case removedremoved
Tracking has been stopped for this anchor.

Properties

NameTypeSummary
var descriptionString
A textual representation of this instance.
Calling this property directly is discouraged. Instead, convert an
instance of any type to a string by using the String(describing:)
initializer. This initializer works with any type, and uses the custom
description property for types that conform to
CustomStringConvertible:
struct Point: CustomStringConvertible {
let x: Int, y: Int
var description: String {
return "(\(x), \(y))"
}
}
let p = Point(x: 21, y: 30)
let s = String(describing: p)
print(s)
// Prints "(21, 30)"
The conversion of p to a string in the assignment to s uses the
Point type's description property.
var isErrorBool
-

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.
- Parameters:
- lhs: A value to compare.
- rhs: Another value to compare.

Relationships

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