unreal.CloudARPinCloudState

class unreal.CloudARPinCloudState

Bases: unreal.EnumBase

ingroup: GoogleARCoreServices A enum describes the cloud state of a CloudARPin.

C++ Source:

  • Plugin: GoogleARCoreServices

  • Module: GoogleARCoreServices

  • File: GoogleARCoreServicesTypes.h

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.

Type

8

ERROR_INTERNAL_ERROR

A hosting/resolving task for this CloudARPin finished with an internal error. This error is hard to recover from, and there is likely nothing that the developer can do to mitigate it.

Type

3

ERROR_LOCALIZATION_FAILURE

The server could not localize the device for the requested Cloud ID. This means that the ARPin was not present in the user’s surroundings.

Type

5

ERROR_NOT_AUTHORIZED

The app cannot communicate with the Google AR Cloud Service because of a bad/invalid/nonexistent API key in the manifest.

Type

4

ERROR_RESOLVING_CLOUD_ID_NOT_FOUND

Resolving failed, because the AR Cloud Service could not find the provided cloud anchor ID.

Type

9

ERROR_RESOURCE_EXHAUSTED

The application has exhausted the request quota allotted to the given API key. The developer should request more quota for the Google AR Cloud Service for their API key from the Google Developer Console.

Type

7

ERROR_SDK_VERSION_TOO_NEW

The CloudARPin could not be acquired because the SDK used to host the CloudARPin was older than the version being used to acquire it. These versions must be an exact match.

Type

11

ERROR_SDK_VERSION_TOO_OLD

The CloudARPin could not be resolved because the SDK used to host the CloudARPin was newer than the version being used to acquire it. These versions must be an exact match.

Type

10

ERROR_SERVICE_UNAVAILABLE

The Google AR Cloud Service was unreachable. This can happen because of a number of reasons. 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 Google AR cloud service.

Type

6

IN_PROGRESS

A hosting/resolving task for the CloudARPin has been scheduled. Once the task completes in the background, the CloudARPin will get a new cloud state in the next frame.

Type

1

NOT_HOSTED

The CloudARPin just got created and the background task for hosting/resolving the CloudARPin hasn’t started yet.

Type

0

SUCCESS

A hosting/resolving task for this CloudARPin completed successfully.

Type

2