Enum ArStatus
Return code indicating success or failure of a method in the ARCore SDK.
Namespace: UnityEngine.XR.ARCore
Syntax
public enum ArStatus
Fields
Name | Description | Value |
---|---|---|
UnavailableUserDeclinedInstallation | The user declined installation of the ARCore APK during this run of the application and the current request was not marked as user-initiated. |
-105 |
UnavailableSdkTooOld | The ARCore APK currently installed no longer supports the ARCore SDK that the application was built with. |
-104 |
UnavailableApkTooOld | The ARCore APK currently installed on device is too old and needs to be updated. |
-103 |
UnavailableDeviceNotCompatible | The device is not currently compatible with ARCore. |
-101 |
UnavailableARCoreNotInstalled | The ARCore APK is not installed on this device. |
-100 |
ErrorMetadataNotFound | The requested metadata tag cannot be found in input metadata. |
-26 |
ErrorSessionUnsupported | Operation is unsupported with the current session. |
-25 |
ErrorPlaybackFailed | Playback failed. |
-24 |
ErrorRecordingFailed | Recording failed. |
-23 |
ErrorIllegalState | A function has been invoked at an illegal or inappropriate time. A message will be printed to logcat with additional details for the developer. |
-20 |
ErrorDataUnsupportedVersion | The data passed in for this operation is not supported by this version of the SDK. |
-19 |
ErrorDataInvalidFormat | The data passed in for this operation was not in a valid format. |
-18 |
ErrorImageInsufficientQuality | Attempted to add an image with insufficient quality (e.g., too few features) to the image database. |
-17 |
ErrorAnchorNotSupportedForHosting | Could not create a new cloud anchor because the anchor is not a type of anchor that is currently supported for hosting. |
-16 |
ErrorInternetPermissionNotGranted | Failed to configure the ARCore session because the specified configuration required the Android INTERNET permission, which the application did not have. |
-15 |
ErrorCloudAnchorsNotConfigured | The host/resolve function call failed because the Session is not configured for Cloud Anchors. |
-14 |
ErrorCameraNotAvailable | The Android camera has been reallocated to a higher priority application or is otherwise unavailable. |
-13 |
ErrorNotYetAvailable | 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. |
-12 |
ErrorResourceExhausted | There are no available resources to complete the operation. In cases of @c acquire functions returning this error, this can be avoided by releasing previously acquired objects before acquiring new ones. |
-11 |
ErrorDeadlineExceeded | Acquire failed because the object being acquired was already released. |
-10 |
ErrorCameraPermissionNotGranted | The application does not have Android camera permission. |
-9 |
ErrorUnsupportedConfiguration | The ARCore session configuration is unsupported. |
-8 |
ErrorMissingGLContext | An operation requires a GL context but one was not available. |
-7 |
ErrorTextureNotSet | No textures are available to the ARCore session. |
-6 |
ErrorNotTracking | An operation was attempted that requires the session be in the TrackingState.Tracking state, but the session was not. |
-5 |
ErrorSessionNotPaused | An operation was attempted that requires the session be paused, but the session was running. |
-4 |
ErrorSessionPaused | An operation was attempted that requires the session be running, but the session was paused. |
-3 |
ErrorFatal | An internal error occurred that the application should not attempt to recover from. |
-2 |
ErrorInvalidArgument | One of the arguments was invalid; either |
-1 |
Success | The operation was successful. |
0 |