public enum ARTrackingFailureReason

  1. Object
  2. Enum<ARTrackingFailureReason>
  3. ARTrackingFailureReason

ImplementsComparable<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 constants

NONETracking is not degraded.
INITIALIZINGThe session is still gathering its first observations; tracking quality improves as the user moves the device.
EXCESSIVE_MOTIONThe device is moving too fast for reliable tracking.
INSUFFICIENT_LIGHTThe scene is too dark for the camera to track features.
INSUFFICIENT_FEATURESThe camera sees too few visual features, for example a blank wall.

Methods

public static ARTrackingFailureReason[] values()
public static ARTrackingFailureReason valueOf(String name)

Inherited methods

Enum constant details

NONE

NONE
Tracking is not degraded.

INITIALIZING

INITIALIZING
The session is still gathering its first observations; tracking quality improves as the user moves the device.

EXCESSIVE_MOTION

EXCESSIVE_MOTION
The device is moving too fast for reliable tracking.

INSUFFICIENT_LIGHT

INSUFFICIENT_LIGHT
The scene is too dark for the camera to track features.

INSUFFICIENT_FEATURES

INSUFFICIENT_FEATURES
The camera sees too few visual features, for example a blank wall.

Method details

values

public static ARTrackingFailureReason[] values()

valueOf

public static ARTrackingFailureReason valueOf(String name)