Enum ARTrackingFailureReason
- All Implemented Interfaces:
Comparable<ARTrackingFailureReason>
Why an
ARSession reports ARTrackingState#LIMITED or
ARTrackingState#NOT_TRACKING. Useful for prompting the user, for example
to move the device more slowly or to point it at a textured surface.-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe device is moving too fast for reliable tracking.The session is still gathering its first observations; tracking quality improves as the user moves the device.The camera sees too few visual features, for example a blank wall.The scene is too dark for the camera to track features.Tracking is not degraded. -
Method Summary
Modifier and TypeMethodDescriptionstatic ARTrackingFailureReasonReturns the enum constant of this type with the specified name.static ARTrackingFailureReason[]values()Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class Enum
clone, compareTo, equals, getDeclaringClass, getEnumValues, hashCode, name, ordinal, setEnumValues, toString, valueOf
-
Enum Constant Details
-
NONE
Tracking is not degraded. -
INITIALIZING
The session is still gathering its first observations; tracking quality improves as the user moves the device. -
EXCESSIVE_MOTION
The device is moving too fast for reliable tracking. -
INSUFFICIENT_LIGHT
The scene is too dark for the camera to track features. -
INSUFFICIENT_FEATURES
The camera sees too few visual features, for example a blank wall.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-