Properties |
AR_ERROR_ANCHOR_NOT_SUPPORTED_FOR_HOSTING
|
Hosting a Cloud Anchor failed because the anchor is not a type of anchor that is currently supported for hosting.
|
AR_ERROR_CAMERA_NOT_AVAILABLE
|
The Android camera has been reallocated to a higher priority application or is otherwise unavailable.
|
AR_ERROR_CAMERA_PERMISSION_NOT_GRANTED
|
The application does not have Android camera permission.
|
AR_ERROR_CLOUD_ANCHORS_NOT_CONFIGURED
|
The host/resolve function call failed because the Session is not configured for Cloud Anchors.
|
AR_ERROR_DATA_INVALID_FORMAT
|
The data passed in for this operation was not in a valid format.
|
AR_ERROR_DATA_UNSUPPORTED_VERSION
|
The data passed in for this operation is not supported by this version of the SDK.
|
AR_ERROR_DEADLINE_EXCEEDED
|
Acquire failed because the object being acquired was already released.
For example, this happens if the application holds an ArFrame beyond the next call to ArSession_update , and then tries to acquire its Point Cloud.
|
AR_ERROR_FATAL
|
An internal error occurred that the application should not attempt to recover from.
|
AR_ERROR_FINE_LOCATION_PERMISSION_NOT_GRANTED
|
The Android precise location permission (ACCESS_FINE_LOCATION ) is required, but has not been granted prior to calling ArSession_configure when ArGeospatialMode is set to AR_GEOSPATIAL_MODE_ENABLED .
See Android documentation on Request location access at runtime for more information on how to request the ACCESS_FINE_LOCATION permission.
|
AR_ERROR_GOOGLE_PLAY_SERVICES_LOCATION_LIBRARY_NOT_LINKED
|
The Fused Location Provider for Android library is required, but wasn't found in the client app's binary prior to calling ArSession_configure when ArGeospatialMode is set to AR_GEOSPATIAL_MODE_ENABLED .
Ensure that your app includes the Fused Location Provider of Android library, and that your app's ProGuard rules are correctly set up for the Geospatial API.
When building your app, check the resulting binary with the APK Analyzer, and ensure that the built application binary includes the com.google.android.gms.location package, and that its contents are not renamed or minified.
|
AR_ERROR_ILLEGAL_STATE
|
A function has been invoked at an illegal or inappropriate time.
A message will be printed to logcat with additional details for the developer. For example, ArSession_resume will return this status if the camera configuration was changed and there is at least one unreleased image.
|
AR_ERROR_IMAGE_INSUFFICIENT_QUALITY
|
Attempted to add an image with insufficient quality (e.g., too few features) to the image database.
|
AR_ERROR_INTERNET_PERMISSION_NOT_GRANTED
|
ArSession_configure failed because the specified configuration required the Android INTERNET permission, which the application did not have.
|
AR_ERROR_INVALID_ARGUMENT
|
One of the arguments was invalid; either NULL or not appropriate for the operation requested.
|
AR_ERROR_METADATA_NOT_FOUND
|
The requested metadata tag cannot be found in input metadata.
|
AR_ERROR_MISSING_GL_CONTEXT
|
An operation required GL context but one was not available.
|
AR_ERROR_NOT_TRACKING
|
An operation was attempted that the session be in the AR_TRACKING_STATE_TRACKING state, but the session was not.
|
AR_ERROR_NOT_YET_AVAILABLE
|
Acquire failed because the data isn't available yet for the current frame.
For example, acquiring image metadata may fail with this error because the camera hasn't fully started.
|
AR_ERROR_PLAYBACK_FAILED
|
When playback failed.
|
AR_ERROR_RECORDING_FAILED
|
When recording failed.
|
AR_ERROR_RESOURCE_EXHAUSTED
|
There are no available resources to complete the operation.
In cases of acquire functions returning this error, this can be avoided by releasing previously acquired objects before acquiring new ones.
|
AR_ERROR_SESSION_NOT_PAUSED
|
An operation was attempted that requires the session be paused, but the session was running.
|
AR_ERROR_SESSION_PAUSED
|
An operation was attempted that requires the session be running, but the session was paused.
|
AR_ERROR_SESSION_UNSUPPORTED
|
Operation is unsupported with the current session.
|
AR_ERROR_TEXTURE_NOT_SET
|
A texture name was not set by calling ArSession_setCameraTextureName before the first call to ArSession_update .
|
AR_ERROR_UNSUPPORTED_CONFIGURATION
|
The configuration supplied to ArSession_configure is unsupported.
To avoid this error, ensure that Session_checkSupported() returns true.
|
AR_SUCCESS
|
The operation was successful.
|
AR_UNAVAILABLE_APK_TOO_OLD
|
The ARCore APK currently installed on device is too old and needs to be updated.
|
AR_UNAVAILABLE_ARCORE_NOT_INSTALLED
|
The ARCore APK is not installed on this device.
|
AR_UNAVAILABLE_DEVICE_NOT_COMPATIBLE
|
The device is not currently compatible with ARCore.
|
AR_UNAVAILABLE_SDK_TOO_OLD
|
The ARCore APK currently installed no longer supports the ARCore SDK that the application was built with.
|
AR_UNAVAILABLE_USER_DECLINED_INSTALLATION
|
The user declined installation of the ARCore APK during this run of the application and the current request was not marked as user-initiated.
|