PreciseEstimateInfo.EstimateFailureReason

public static abstract @interface PreciseEstimateInfo.EstimateFailureReason implements Annotation

Reason AoA estimation failed, or NONE if it succeeded.

Constant Summary

int BAD_STATE AoA estimation failed because the estimation algorithm reached a bad state.
int CAMERA_NOT_AVAILABLE ARCore failed because the camera is in use by another application.
int EXCESSIVE_MOTION ARCore failed due to excessive motion.
int INCONCLUSIVE_RESULT AoA estimation failed because the estimation algorithm produced a bimodal or otherwise inconclusive result.
int INSUFFICIENT_FEATURES ARCore failed due to insufficient visual features.
int INSUFFICIENT_LIGHT ARCore failed due to poor lighting conditions.
int MISSING_GL_CONTEXT ARCore failed because the GL context was lost.
int NONE AoA estimation succeeded.
int NOT_AVAILABLE AoA is currently not available for an expected reason, such as during initialization.
int PEER_MOVING AoA estimation failed because excessive peer motion was detected.

Inherited Method Summary

Constants

public static final int BAD_STATE

AoA estimation failed because the estimation algorithm reached a bad state. No user action is likely to fix this; consider restarting the session.

Constant Value: 8

public static final int CAMERA_NOT_AVAILABLE

ARCore failed because the camera is in use by another application. Odometry resumes once this app regains priority, or once all apps with higher priority have stopped using the camera.

Constant Value: 5

public static final int EXCESSIVE_MOTION

ARCore failed due to excessive motion. Ask the user to move the device more slowly.

Constant Value: 3

public static final int INCONCLUSIVE_RESULT

AoA estimation failed because the estimation algorithm produced a bimodal or otherwise inconclusive result. Ask the user to move in a different direction than was done previously.

Constant Value: 7

public static final int INSUFFICIENT_FEATURES

ARCore failed due to insufficient visual features. Ask the user to move to a different area and to avoid blank walls and surfaces without detail.

Constant Value: 4

public static final int INSUFFICIENT_LIGHT

ARCore failed due to poor lighting conditions. Ask the user to move to a more brightly lit area.

Constant Value: 2

public static final int MISSING_GL_CONTEXT

ARCore failed because the GL context was lost. This shouldn't happen unless the client is providing a ArOdometryProvider.Builder.setGlContextThreadExecutor(Executor) and the GL context on the thread has been mismanaged. In other cases, this can be safely ignored.

Constant Value: 9

public static final int NONE

AoA estimation succeeded.

Constant Value: 0

public static final int NOT_AVAILABLE

AoA is currently not available for an expected reason, such as during initialization. This should resolve itself soon.

Constant Value: 1

public static final int PEER_MOVING

AoA estimation failed because excessive peer motion was detected. The algorithm works best when the peer is stationary.

Constant Value: 6