Enum ArCloudAnchorState
Result of a Cloud Anchor hosting or resolving operation. Refer to Google's Cloud Anchors developer guide for more information: https://developers.google.com/ar/reference/c/group/ar-anchor#arcloudanchorstate
Namespace: UnityEngine.XR.ARCore
Assembly: Unity.XR.ARCore.dll
Syntax
public enum ArCloudAnchorState
Fields
Name | Description |
---|---|
AR_CLOUD_ANCHOR_STATE_ERROR_CLOUD_ID_NOT_FOUND | Resolving failed, because the ARCore Cloud Anchor service could not find the provided Cloud Anchor ID. |
AR_CLOUD_ANCHOR_STATE_ERROR_HOSTING_DATASET_PROCESSING_FAILED | Hosting failed, because the server could not successfully process the dataset for the given anchor. The developer should try again after the device has gathered more data from the environment. |
AR_CLOUD_ANCHOR_STATE_ERROR_HOSTING_SERVICE_UNAVAILABLE | The ARCore Cloud Anchor service was unreachable. This can happen for a number of reasons. The device might be in airplane mode or does not have a working internet connection. The request sent to the server might have timed out with no response, or there might be a bad network connection, DNS unavailability, firewall issues, or anything else that might affect the device's ability to connect to the ARCore Cloud Anchor service. |
AR_CLOUD_ANCHOR_STATE_ERROR_INTERNAL | A hosting/resolving task for this anchor finished with an internal error. The app should not attempt to recover from this error. |
AR_CLOUD_ANCHOR_STATE_ERROR_NOT_AUTHORIZED | The authorization provided by the application is not valid.
|
AR_CLOUD_ANCHOR_STATE_ERROR_RESOLVING_SDK_VERSION_TOO_NEW | The Cloud Anchor could not be resolved because the SDK version used to resolve the anchor is newer than and incompatible with the version used to host it. |
AR_CLOUD_ANCHOR_STATE_ERROR_RESOLVING_SDK_VERSION_TOO_OLD | The Cloud Anchor could not be resolved because the SDK version used to resolve the anchor is older than and incompatible with the version used to host it. |
AR_CLOUD_ANCHOR_STATE_ERROR_RESOURCE_EXHAUSTED | The application has exhausted the request quota allotted to the given API key. The developer should request additional quota for the ARCore API for their API key from the Google Developers Console. |
AR_CLOUD_ANCHOR_STATE_NONE | Not a valid value for a Cloud Anchor operation. |
AR_CLOUD_ANCHOR_STATE_SUCCESS | A hosting/resolving task for this anchor completed successfully. |
AR_CLOUD_ANCHOR_STATE_TASK_IN_PROGRESS | A hosting/resolving task for the anchor is in progress. Once the task completes in the background, the anchor will get a new cloud state after the next ArSession_update call. |