GoogleARCore.CrossPlatform

Summary

Enumerations

CloudServiceResponse{
  Success,
  ErrorNotSupportedByConfiguration,
  ErrorNotTracking,
  ErrorServiceUnreachable,
  ErrorNotAuthorized,
  ErrorApiQuotaExceeded,
  ErrorDatasetInadequate,
  ErrorCloudIdNotFound,
  ErrorLocalizationFailed,
  ErrorSDKTooOld,
  ErrorSDKTooNew,
  ErrorInternal,
  ErrorHostingServiceUnavailable,
  ErrorRequestCancelled
}
enum
A response from the ARCore Cloud Anchor service.
XPSessionStatus{
  None = 0,
  Initializing = 1,
  Tracking = 100,
  LostTracking = 101,
  NotTracking = 102,
  FatalError = 200,
  ErrorApkNotAvailable = 201,
  ErrorPermissionNotGranted = 202,
  ErrorSessionConfigurationNotSupported = 203
}
enum
The status of an ARCore cross-platform session.
XPTrackingState{
  Tracking = 0,
  Paused = 1,
  Stopped = 2
}
enum
The tracking state for a cross-platform ARCore entity.

Classes

GoogleARCore.CrossPlatform.XPAnchor

A cross-platform anchor.

GoogleARCore.CrossPlatform.XPSession

Represents a cross-platform ARCore session.

Structs

GoogleARCore.CrossPlatform.CloudAnchorResult

The result of a cloud service operation that returns a cloud anchor.

Enumerations

CloudServiceResponse

 CloudServiceResponse

A response from the ARCore Cloud Anchor service.

Properties
ErrorApiQuotaExceeded

The request exceeded the allotted quota for the application's API key.

ErrorCloudIdNotFound

The request referenced a Cloud Anchor ID that was not found.

ErrorDatasetInadequate

The device needs to gather additional tracking data from the environment before the ARCore Cloud Anchor service can fulfill the request.

ErrorHostingServiceUnavailable

The ARCore Cloud Anchor service was unreachable.

This can happen because of a number of reasons. The device may is 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

The ARCore Cloud Anchor service experienced an internal error when processing the request.

ErrorLocalizationFailed

The ARCore Cloud Anchor service failed to localize.

Deprecated. This enum value is deprecated.

ErrorNotAuthorized

The authorization provided by the application is not valid; The API key included in the application manifest should be checked for accuracy.

ErrorNotSupportedByConfiguration

The request is not supported by the current configuration.

ErrorNotTracking

The request can not be completed because the local AR session is not tracking or paused.

ErrorRequestCancelled

The ARCore Cloud Anchor service request has been cancelled.

ErrorSDKTooNew

The SDK version is too new to be compatible with the ARCore Cloud Anchor service.

ErrorSDKTooOld

The SDK version is too old to be compatible with the ARCore Cloud Anchor service.

ErrorServiceUnreachable

The ARCore Cloud Anchor service could not be reached via the network connection.

Deprecated. This enum value is deprecated.

Success

The request was completed successfully.

XPSessionStatus

 XPSessionStatus

The status of an ARCore cross-platform session.

Properties
ErrorApkNotAvailable

The session cannot begin tracking because the ARCore service APK is not available on the device.

ErrorPermissionNotGranted

The session cannot begin tracking because the Android camera permission is not granted.

ErrorSessionConfigurationNotSupported

The session cannot begin tracking because the session configuration supplied is not supported or no session configuration was supplied.

FatalError

The session cannot begin tracking because a fatal error was encountered.

Initializing

The session is initializing.

LostTracking

The session has lost tracking and is attempting to recover.

None

The session has not been initialized.

NotTracking

The session is paused.

Tracking

The session is tracking.

XPTrackingState

 XPTrackingState

The tracking state for a cross-platform ARCore entity.

Properties
Paused

ARCore has paused tracking the entity but may resume tracking it in the future.

Stopped

ARCore has stopped tracking the entity and will never resume tracking it.

Tracking

The entity is actively being tracked.