Flutter Engine
The Flutter Engine
|
Functions | |
AR_DEFINE_ENUM (ArCloudAnchorState) | |
AR_DEFINE_ENUM (ArCloudAnchorMode) | |
The cloud state and configuration of an Anchor and the AR Session.
AR_DEFINE_ENUM | ( | ArCloudAnchorMode | ) |
Indicates the cloud configuration of the ArSession.
Anchor Hosting is disabled. This is the value set in the default ArConfig.
Anchor Hosting is enabled. Setting this value and calling configure()
will require that the application have the Android INTERNET permission.
Definition at line 771 of file arcore_c_api.h.
AR_DEFINE_ENUM | ( | ArCloudAnchorState | ) |
Describes the current cloud state of an Anchor
.
The anchor is purely local. It has never been hosted using hostCloudAnchor, and has not been acquired using acquireCloudAnchor.
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 update() call.
A hosting/resolving task for this anchor completed successfully.
A hosting/resolving task for this anchor finished with an internal error. The app should not attempt to recover from this error.
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.
The ARCore Cloud 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 ARCore Cloud.
The application has exhausted the request quota allotted to the given API key. The developer should request additional quota for the ARCore Cloud for their API key from the Google Developers Console.
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.
Resolving failed, because the ARCore Cloud could not find the provided cloud anchor ID.
The server could not match the visual features provided by ARCore against the localization dataset of the requested cloud anchor ID. This means that the anchor pose being requested was likely not created in the user's surroundings.
The anchor could not be resolved because the SDK used to host the anchor was newer than and incompatible with the version being used to acquire it.
The anchor could not be acquired because the SDK used to host the anchor was older than and incompatible with the version being used to acquire it.
Definition at line 591 of file arcore_c_api.h.