Google.XR.ARCoreExtensions

Summary

Enumerations

CloudReferenceState{
  None,
  TaskInProgress,
  Success,
  ErrorInternal,
  ErrorNotAuthorized,
  ErrorResourceExhausted,
  ErrorHostingDatasetProcessingFailed,
  ErrorResolvingCloudIdNotFound,
  ErrorResolvingPackageTooOld,
  ErrorResolvingPackageTooNew,
  ErrorHostingServiceUnavailable
}
enum
Describes the current state of a ARCloudReferencePoint.

Classes

Google.XR.ARCoreExtensions.ARCloudReferencePoint

The ARCloudReferencePoint is an ARCore Extensions object that provides a similar service to AR Foundations ARReferencePoint as an anchor for game objects in your scene.

Google.XR.ARCoreExtensions.ARCoreExtensions

ARCore Extensions, this script allows an app to specify and provide access to AR Foundation object instances that should be used by ARCore Extensions.

Google.XR.ARCoreExtensions.ARCoreExtensionsConfig

Holds settings that are used to configure the ARCore Extensions.

Google.XR.ARCoreExtensions.ARReferencePointManagerExtensions

Extensions to AR Foundation's ARReferencePointManager class.

Google.XR.ARCoreExtensions.VersionInfo

Provides access to information about the current ARCore Extensions package runtime.

Enumerations

CloudReferenceState

 CloudReferenceState

Describes the current state of a ARCloudReferencePoint.

Properties
ErrorHostingDatasetProcessingFailed

Hosting failed because the server could not successfully process the dataset for the given Reference Point.

The developer should try again after the devices has gathered more data from the environment.

ErrorHostingServiceUnavailable

The ARCore Cloud Anchor Service was unreachable.

This can happen because of a number of reasons. The device may be in airplane mode or does not have a working internet connection. The request sent to the server could have timed out with no response, there could be a bad network connection, DNS unavailability, firewall issues, or anything that could affect the device's ability to connect to the ARCore Cloud Anchor service.

ErrorInternal

A hosting or resolving task for this Reference Point has completed with an internal error.

The app should not attempt to recover from this error.

ErrorNotAuthorized

The app cannot communicate with the ARCore Cloud because of an invalid or unauthorized API key in the manifest, or because there was no API key present in the manifest.

ErrorResolvingCloudIdNotFound

Resolving failed because the ARCore Cloud could not find the provided Cloud Anchor Id.

ErrorResolvingPackageTooNew

The Reference Point could not be acquired because the ARCore Extensions package used to host the Cloud Anchor was older than and incompatible with the version being used to acquire it.

ErrorResolvingPackageTooOld

The Reference Point could not be resolved because the ARCore Extensions package used to host the Cloud Anchor was newer than and incompatible with the version being used to acquire it.

ErrorResourceExhausted

The application has exhausted the request quota alloted to the given API key.

The developer should request additional quota for the ARCore Cloud for their API key from the Google Developers Console.

None

The cloud reference point is not ready to use.

Success

A hosting or resolving task for this Reference Point has completed successfully.

TaskInProgress

A hosting or resolving task is in progress for this Reference Point.

Once the task completes in the background, the Reference Point will get a new state after the next update.