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 |
---|---|---|
ErrorAnchorNotSupportedForHosting | Could not create a new cloud anchor because the anchor is not a type of anchor that is currently supported for hosting. |
|
ErrorCameraNotAvailable | The Android camera has been reallocated to a higher priority application or is otherwise unavailable. |
|
ErrorCameraPermissionNotGranted | The application does not have Android camera permission. |
|
ErrorCloudAnchorsNotConfigured | The host/resolve function call failed because the Session is not configured for Cloud Anchors. |
|
ErrorDataInvalidFormat | The data passed in for this operation was not in a valid format. |
|
ErrorDataUnsupportedVersion | The data passed in for this operation is not supported by this version of the SDK. |
|
ErrorDeadlineExceeded | Acquire failed because the object being acquired was already released. |
|
ErrorFatal | An internal error occurred that the application should not attempt to recover from. |
|
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. |
|
ErrorImageInsufficientQuality | Attempted to add an image with insufficient quality (e.g., too few features) to the image database. |
|
ErrorInternetPermissionNotGranted | Failed to configure the ARCore session because the specified configuration required the Android INTERNET permission, which the application did not have. |
|
ErrorInvalidArgument | One of the arguments was invalid; either |
|
ErrorMetadataNotFound | The requested metadata tag cannot be found in input metadata. |
|
ErrorMissingGLContext | An operation requires a GL context but one was not available. |
|
ErrorNotTracking | An operation was attempted that requires the session be in the TrackingState.Tracking state, but the session was not. |
|
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. |
|
ErrorPlaybackFailed | Playback failed. |
|
ErrorRecordingFailed | Recording failed. |
|
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. |
|
ErrorSessionNotPaused | An operation was attempted that requires the session be paused, but the session was running. |
|
ErrorSessionPaused | An operation was attempted that requires the session be running, but the session was paused. |
|
ErrorSessionUnsupported | Operation is unsupported with the current session. |
|
ErrorTextureNotSet | No textures are available to the ARCore session. |
|
ErrorUnsupportedConfiguration | The ARCore session configuration is unsupported. |
|
Success | The operation was successful. |
|
UnavailableApkTooOld | The ARCore APK currently installed on device is too old and needs to be updated. |
|
UnavailableARCoreNotInstalled | The ARCore APK is not installed on this device. |
|
UnavailableDeviceNotCompatible | The device is not currently compatible with ARCore. |
|
UnavailableSdkTooOld | The ARCore APK currently installed no longer supports the ARCore SDK that the application was built with. |
|
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. |